unixFdAdd
fun unixFdAdd(fd: <Error class: unknown class>, condition: IoCondition, function: UnixFdSourceFunc): <Error class: unknown class>
Sets a function to be called when the IO condition, as specified by
Return
the ID (greater than 0) of the event source
Since
2.36
Parameters
fd
a file descriptor
condition
IO conditions to watch for on @fd
function
a #GUnixFDSourceFunc