EPOLLOUT
EPOLLOUT is a flag used by the Linux epoll I/O event notification facility. It indicates that a file descriptor is currently ready for write operations; a non-blocking write to the descriptor should not block. It is used with epoll_ctl to register the flag and with epoll_wait to retrieve events. Commonly applied to sockets and pipes, where the write queue has space.
When using non-blocking I/O, you may register for EPOLLOUT when you have data to send, or re-arm
Notes and caveats: For regular files EPOLLOUT is typically always set; epoll may continuously report it, so