package async_unix

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Async_unix.Io_uring_rawSource

Sourcemodule Int63 : sig ... end
Sourcemodule Poll_mask : sig ... end
Sourcemodule Clock : sig ... end
Sourcemodule Statx : sig ... end
Sourcemodule Open_flags : sig ... end

Flags that can be passed to openat2.

Sourcemodule Resolve : sig ... end

Flags that can be passed to openat2 to control path resolution.

Sourcetype t
Sourcemodule Syscall_result : sig ... end
Sourcemodule Handle : sig ... end
Sourceval create : ?polling_timeout:int -> queue_depth:int -> unit -> t Core.Or_error.t
Sourceval supports_ext_arg : t -> bool
Sourceval exit : t -> unit
Sourceval register_eventfd : t -> Async_unix__.Import.File_descr.t -> unit
Sourceval submit : t -> int
Sourceval cqe_ready : t -> timeout:float -> bool
Sourceval fill_completions : t -> int
Sourceval noop : t -> Handle.t
Sourceval read : t -> file_offset:Int63.t -> Async_unix__.Import.File_descr.t -> Cstruct.t -> Handle.t
Sourceval write : t -> file_offset:Int63.t -> Async_unix__.Import.File_descr.t -> Cstruct.t -> Handle.t
Sourceval readv : t -> file_offset:Int63.t -> Async_unix__.Import.File_descr.t -> Cstruct.t list -> Handle.t
Sourceval writev : t -> file_offset:Int63.t -> Async_unix__.Import.File_descr.t -> Cstruct.t list -> Handle.t
Sourceval poll_add : t -> Async_unix__.Import.File_descr.t -> Poll_mask.t -> Handle.t
Sourceval openat2 : t -> access:[ `R | `W | `RW ] -> flags:Open_flags.t -> perm:Async_unix__.Import.Unix.file_perm -> resolve:Resolve.t -> ?fd:Async_unix__.Import.File_descr.t -> string -> Handle.t

Openat2 will fail if non-zero perms are passed while no file is being created (i.e. when creat or tmpfile are not passed as flags)

Sourceval close : t -> Async_unix__.Import.File_descr.t -> Handle.t
Sourceval timeout : t -> ?absolute:bool -> Clock.t -> int64 -> Handle.t
Sourceval statx : t -> ?fd:Async_unix__.Import.File_descr.t -> mask:Statx.Mask.t -> string -> Statx.t -> Statx.Flags.t -> Handle.t
Sourceval cancel : t -> Handle.t -> unit Async_kernel.Deferred.t