Module GMain.Io
type channel= Glib.Io.channeltype condition=[|`IN|`OUT|`PRI|`ERR|`HUP|`NVAL]type id
val channel_of_descr : Unix.file_descr -> channelval add_watch : cond:condition list -> callback:(condition list -> bool) -> ?prio:int -> channel -> idval remove : id -> unitval read : channel -> buf:bytes -> pos:int -> len:int -> intval read_chars : channel -> buf:bytes -> pos:int -> len:int -> int