unixFdAddFull

fun unixFdAddFull(priority: Int, fd: Int, 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