unixFdAddFull

fnuint unixFdAddFull(int priority, int fd, glib.types.IOCondition condition, glib.types.UnixFDSourceFunc function_)

Sets a function to be called when the IO condition, as specified by condition becomes true for fd.

This is the same as [glib.global.unixFdAdd], except that it allows you to specify a non-default priority and a provide a #GDestroyNotify for user_data.

Parameters

prioritythe priority of the source
fda file descriptor
conditionIO conditions to watch for on fd
function_a #GUnixFDSourceFunc

Returns

the ID (greater than 0) of the event source