[Overview][Constants][Types][Procedures and functions][Index] |
Modify an epoll file descriptor
Source position: linux.pp line 248
function epoll_ctl( |
epfd: cint; |
op: cint; |
fd: cint; |
event: PEpoll_Event |
):cint; |
epoll_ctl performs the op operation on epoll file descriptor epfd. The operation will be monitored on file descriptor fd, and is optionally controlled by event.
op can be one of the following values:
The events field in event_data is 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 |
lazarus-ccr.sourceforge.net |