Crate epoll [−] [src]
Structs
ControlOptions | |
Event |
'libc::epoll_event' equivalent. |
Events |
Constants
EPOLLERR |
Error condition happened on the associated file descriptor. |
EPOLLET |
Sets the Edge Triggered behavior for the associated file descriptor. |
EPOLLHUP |
Hang up happened on the associated file descriptor. |
EPOLLIN |
The associated file is available for read operations. |
EPOLLONESHOT |
Sets the one-shot behavior for the associated file descriptor. |
EPOLLOUT |
The associated file is available for write operations. |
EPOLLPRI |
There is urgent data available for read operations. |
EPOLLRDHUP |
Stream socket peer closed connection, or shut down writing half of connection. |
EPOLLWAKEUP |
If |
EPOLL_CTL_ADD |
Indicates an addition to the interest list. |
EPOLL_CTL_DEL |
Indicates a removal of an interest from the list. |
EPOLL_CTL_MOD |
Indicates a modification of flags for an interest already in list. |
Functions
create |
Creates a new epoll file descriptor. |
ctl |
Safe wrapper for |
wait |
Safe wrapper for |