fn epoll_wait(epfd: i32, events: []linux.epoll_event, timeout: i32) usize

Waits for an I/O event on an epoll file descriptor. Returns the number of file descriptors ready for the requested I/O, or zero if no file descriptor became ready during the requested timeout milliseconds.

Parameters

epfd: i32,
events: []linux.epoll_event,
timeout: i32,