package lablgtk3

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GMain.IoSource

Sourcetype channel = Glib.Io.channel
Sourcetype condition = [
  1. | `IN
  2. | `OUT
  3. | `PRI
  4. | `ERR
  5. | `HUP
  6. | `NVAL
]
Sourcetype id
Sourceval channel_of_descr : Unix.file_descr -> channel
Sourceval add_watch : cond:condition list -> callback:(condition list -> bool) -> ?prio:int -> channel -> id
Sourceval remove : id -> unit
Sourceval read : channel -> buf:bytes -> pos:int -> len:int -> int
Sourceval read_chars : channel -> buf:bytes -> pos:int -> len:int -> int
OCaml

Innovation. Community. Security.