epoll_wait (2) Linux Manual Page
epoll_wait, epoll_pwait – wait for an I/O event on an epoll file descriptor Synopsis#include <sys/epoll.h> int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask);DescriptionThe epoll_wait() system call waits for events on the epoll(7) instance referred to by the file descriptor epfd….
