unixFdSourceNew
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.
Return
the newly created #GSource
Since
2.36
Parameters
fd
a file descriptor
condition
I/O conditions to watch for on @fd