package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type event
type event_flags =
  1. | TIMEOUT
  2. | READ
  3. | WRITE
  4. | SIGNAL
type event_callback = Unix.file_descr -> event_flags -> unit
val create : unit -> event
val set : event -> Unix.file_descr -> event_flags list -> persist:bool -> event_callback -> unit
val add : event -> float option -> unit
val del : event -> unit
type loop_flags =
  1. | ONCE
  2. | NONBLOCK
val loop : loop_flags -> unit