Creates a #GSource to watch for a particular I/O condition on a file descriptor.
The source will never close the fd — you must do it yourself.
Any callback attached to the returned #GSource must have type #GUnixFDSourceFunc.
a file descriptor
I/O conditions to watch for on fd
the newly created #GSource
Creates a #GSource to watch for a particular I/O condition on a file descriptor.
The source will never close the fd — you must do it yourself.
Any callback attached to the returned #GSource must have type #GUnixFDSourceFunc.