[ CCode ( has_target = false ) ]
public delegate int PollFunc (PollFD[] ufds, int timeout_)
Specifies the type of function passed to set_poll_func.
The semantics of the function should match those of the poll system call.
| ufds |
an array of PollFD elements |
| timeout_ |
the maximum time to wait for an event of the file descriptors. A negative value indicates an infinite timeout. |
| nfsd |
the number of elements in |
|
the number of PollFD elements which have events or errors reported, or -1 if an error occurred. |