Rechercher une page de manuel
Glib.Io.3o
Langue: en
Version: 317355 (ubuntu - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Glib.Io - IO ChannelsModule
Module Glib.IoDocumentation
Module Io
: sig end
IO Channels
=== Io condition, called from the main loop ===
type channel
type condition = [ `ERR | `HUP | `IN | `NVAL | `OUT | `PRI ]
type id
val channel_of_descr : Unix.file_descr -> channel
val add_watch : cond:condition list -> callback:(condition list -> bool) -> ?prio:int -> channel -> id
val remove : id -> unit
val read : channel -> buf:string -> pos:int -> len:int -> int
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre