unixFdAddFull

fun unixFdAddFull(priority: <Error class: unknown class>, 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

priority

the priority of the source

fd

a file descriptor

condition

IO conditions to watch for on @fd

function

a #GUnixFDSourceFunc