module Aio:sig
..end
This module implements the libaio bindings that interface with the Linux system calls.
Version 0.0.0 - goswin-v-b@web.de
module Buffer:sig
..end
type
result =
| |
Result of |
|||
| |
Errno of |
|||
| |
Partial of |
(* | The type for a result of a completed I/O request | *) |
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 fd : context -> Unix.file_descr
val sync_read : Unix.file_descr -> int64 -> Buffer.t -> unit
val sync_write : Unix.file_descr -> int64 -> Buffer.t -> unit