package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val create : ?polling_timeout:int -> queue_depth:int -> unit -> t Core.Or_error.t
val exit : t -> unit
val submit : t -> int
val fill_completions : t -> int
val read : t -> ?file_offset:int -> Fd.t -> ?off:int -> ?len:int -> Core.Bigstring.t -> (int, Core.Exn.t) Core.Result.t Async_kernel.Deferred.t
val read_file_descr : t -> ?file_offset:int -> Core_unix.File_descr.t -> ?off:int -> ?len:int -> Core.Bigstring.t -> (int, Core.Exn.t) Core.Result.t Async_kernel.Deferred.t
val write : t -> ?file_offset:int -> Fd.t -> ?off:int -> ?len:int -> Core.Bigstring.t -> (int, Core.Exn.t) Core.Result.t Async_kernel.Deferred.t
val readv : t -> ?file_offset:int -> Fd.t -> Core.Bigstring.t Core_unix.IOVec.t Core.Array.t -> (int, Core.Exn.t) Core.Result.t Async_kernel.Deferred.t
val writev : t -> ?file_offset:int -> Fd.t -> Core.Bigstring.t Core_unix.IOVec.t array -> (int, Core.Exn.t) Core.Result.t Async_kernel.Deferred.t
val openat2 : t -> access:[ `R | `W | `RW ] -> flags:Io_uring_raw.Open_flags.t -> ?perm:Core_unix.file_perm -> resolve:Io_uring_raw.Resolve.t -> ?info:Core.Info.t -> ?fd:Fd.t -> string -> (Fd.t, Core.Exn.t) Core.Result.t Async_kernel.Deferred.t
val the_one_and_only : unit -> t option
OCaml

Innovation. Community. Security.