Creates a #GSource 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 #GSource
2.36
See Implementation
Creates a #GSource to watch for a particular IO condition on a file descriptor.
The source will never close the fd -- you must do it yourself.