aio

Linux kernel AIO access library for ocaml
IN THIS PACKAGE
Module Aio
module Buffer : sig ... end
type result =
| Result of Buffer.t
| Errno of int
| Partial of Buffer.t * int
exception Error of int
exception Incomplete of Buffer.t * int
val result : result -> Buffer.t
type context
val context : int -> context
val read : context -> Unix.file_descr -> int64 -> Buffer.t -> ( result -> unit ) -> unit
val write : context -> Unix.file_descr -> int64 -> Buffer.t -> ( result -> unit ) -> unit
val poll : context -> Unix.file_descr -> int -> ( Unix.file_descr -> unit ) -> unit
val run : context -> unit
val process : context -> unit
val sync_read : Unix.file_descr -> int64 -> Buffer.t -> unit
val sync_write : Unix.file_descr -> int64 -> Buffer.t -> unit