Expand description
sys/epoll.h implementation.
Non-POSIX, see http://man7.org/linux/man-pages/man7/epoll.7.html.
Structs§
Constants§
- EPOLLERR
- Error condition happened on the associated file descriptor.
- EPOLLET
- Requests edge-triggered notification for the associated file descriptor.
- EPOLLEXCLUSIVE
- Sets an exclusive wakeup mode for the epoll file descriptor that is being
attached to the target file descriptor,
fd. - EPOLLHUP
- Hang up happened onthe associated file descriptor.
- EPOLLIN
- The associated file is available for read operations.
- EPOLLMSG
- EPOLLNVAL
- EPOLLONESHOT
- Requests one-shot notification for the associated file descriptor.
- EPOLLOUT
- The associated file is available for write operations.
- EPOLLPRI
- There is an exceptional condition on the file descriptor.
- EPOLLRDBAND
- EPOLLRDHUP
- Stream socket peer closed connection, or shut down writing half of connection.
- EPOLLRDNORM
- EPOLLWAKEUP
- If
EPOLLONESHOTandEPOLLETare clear and the process has theCAP_BLOCK_SUSPENDcapability, ensure that the system does not enter “suspend” or “hibernate” while this event is pending or being processed. - EPOLLWRBAND
- EPOLLWRNORM
- EPOLL_
CLOEXEC - Set the close-on-exec (
FD_CLOEXEC) flag on the new file descriptor. - EPOLL_
CTL_ ADD - Add an entry to the interest list of the epoll file descriptor,
epfd. - EPOLL_
CTL_ DEL - Remove (deregister) the target file descriptor
fdfrom the interest list. - EPOLL_
CTL_ MOD - Change the settings associated with
fdin the interest list to the new settings specified inevent.
Functions§
- epoll_
create - Non-POSIX, see https://man7.org/linux/man-pages/man2/epoll_create.2.html.
- epoll_
create1 - Non-POSIX, see https://man7.org/linux/man-pages/man2/epoll_create1.2.html.
- epoll_
ctl ⚠ - Non-POSIX, see https://man7.org/linux/man-pages/man2/epoll_ctl.2.html.
- epoll_
pwait ⚠ - Non-POSIX, see https://man7.org/linux/man-pages/man2/epoll_wait.2.html.
- epoll_
wait ⚠ - Non-POSIX, see https://man7.org/linux/man-pages/man2/epoll_wait.2.html.