Sets a function to be called when the IO condition, as specified by @condition becomes true for @fd.
This is the same as g_unix_fd_add(), except that it allows you to specify a non-default priority and a provide a #GDestroyNotify for @user_data.
the priority of the source
a file descriptor
IO conditions to watch for on @fd
a #GUnixFDSourceFunc
data to pass to @function
function to call when the idle is removed, or %NULL
the ID (greater than 0) of the event source
2.36
See Implementation
Sets a function to be called when the IO condition, as specified by @condition becomes true for @fd.
This is the same as g_unix_fd_add(), except that it allows you to specify a non-default priority and a provide a #GDestroyNotify for @user_data.