Skip to main content

Module sys_epoll

Module sys_epoll 

Source
Expand description

sys/epoll.h implementation.

Non-POSIX, see http://man7.org/linux/man-pages/man7/epoll.7.html.

Structs§

epoll_event
Non-POSIX, see https://man7.org/linux/man-pages/man3/epoll_event.3type.html.

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 EPOLLONESHOT and EPOLLET are clear and the process has the CAP_BLOCK_SUSPEND capability, 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 fd from the interest list.
EPOLL_CTL_MOD
Change the settings associated with fd in the interest list to the new settings specified in event.

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.

Unions§

epoll_data
Non-POSIX, see https://man7.org/linux/man-pages/man3/epoll_event.3type.html.