Creates a glib.Source to watch for a particular IO condition on a file descriptor.
The source will never close the fd -- you must do it yourself.
a file descriptor
IO conditions to watch for on fd
the newly created glib.Source
2.36
Creates a glib.Source to watch for a particular IO condition on a file descriptor.
The source will never close the fd -- you must do it yourself.