case of error with the "errno" variable set to the specific error code.
epoll_wait
fn
int epoll_wait(int epfd, epoll_event * events, int maxevents, int timeout)Wait for events on an epoll instance.
Parameters
epfd | an epoll file descriptor instance |
events | a buffer that will contain triggered events |
maxevents | the maximum number of events to be returned ( usually size of "events" ) |
timeout | specifies the maximum wait time in milliseconds (-1 == infinite) |
Returns
the number of triggered events returned in "events" buffer. Or -1 in