Glib.Io(3o)

Glib.Io3o

Io channels

Module

Module Glib.Io

Documentation

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

Releases

3 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0

From liblablgtk2-ocaml-doc 2.4.0v0.2tv-8 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.