--> |
EPOLLIN |
| The associated file is available for read(2) operations. |
EPOLLOUT |
| The associated file is available for write(2) operations. |
EPOLLPRI |
| There is urgent data available for read(2) operations. |
EPOLLERR |
| Error condition happened on the associated file descriptor. |
EPOLLHUP |
| Hang up happened on the associated file descriptor. |
EPOLLET |
| Sets the Edge Triggered behaviour for the associated file descriptor. The default behaviour for epoll is Level Triggered. See epoll(4) for more detailed informations about Edge and Level Triggered event distribution architectures. |
The epoll interface supports all file descriptors that support poll(2). Valid values for the op parameter are : |
EPOLL_CTL_ADD |
| Add the target file descriptor fd to the epoll descriptor epfd and associate the event event with the internal file linked to fd. |
EPOLL_CTL_MOD |
| Change the event event associated to the target file descriptor fd. |
EPOLL_CTL_DEL |
| Remove the target file descriptor fd from the epoll file descriptor, epfd. |
|