EPOLLCTLADD
EPOLL_CTL_ADD is a command used with the epoll_ctl system call to register a new file descriptor with an epoll instance so the application can monitor events on that descriptor.
Prototype and purpose: int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); when op is EPOLL_CTL_ADD,
Event structure and usage: struct epoll_event includes a field events, a bitmask of event types (for example
Notes on behavior and constraints: If the fd is already registered with the epoll instance, EPOLL_CTL_ADD will