EPOLLCTLDEL
EPOLL_CTL_DEL is a control operation used with the epoll_ctl system call on Linux to remove a file descriptor from an epoll instance. It is one of the three operations defined for epoll_ctl, alongside EPOLL_CTL_ADD and EPOLL_CTL_MOD. The operation targets a previously registered file descriptor and stops the kernel from monitoring events on that fd via the specified epoll instance.
The epoll_ctl function has the signature epoll_ctl(int epfd, int op, int fd, struct epoll_event *event). For EPOLL_CTL_DEL,
Behavior and return values: If the specified fd is currently registered with the epoll instance, it is
Common considerations: It is good practice to remove fds from epoll before closing them to avoid stray