[Overview][Constants][Types][Procedures and functions] |
Modify an epoll file descriptor
Source position: linux.pp line 142
function epoll_ctl( |
epfd: cint; |
op: cint; |
fd: cint; |
event: PEpoll_Event |
):cint; |
epoll_ctlperforms the opoperation on epoll file descriptor epfd. The operation will be monitored on file descriptor fd, and is optionally controlled by event.
opcan be one of the following values:
The eventsfield in event_datais a bitmask of one or more of the following values:
On error -1 is returned, and errno is set accordingly.
|
Create new epoll file descriptor |
|
|
Wait for an event on an epoll file descriptor. |
|
|
Close file descriptor |