module Aio:libaio-ocaml Linux async I/O interface for ocamlsig..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.ttype context
val context : int -> contextval read : context ->
Unix.file_descr -> int64 -> Buffer.t -> (result -> unit) -> unitval write : context ->
Unix.file_descr -> int64 -> Buffer.t -> (result -> unit) -> unitval poll : context -> Unix.file_descr -> int -> (Unix.file_descr -> unit) -> unitval run : context -> unitval process : context -> unitval fd : context -> Unix.file_descrval sync_read : Unix.file_descr -> int64 -> Buffer.t -> unitval sync_write : Unix.file_descr -> int64 -> Buffer.t -> unit