Is there a way to find out the errno when epoll_wait returns EPOLLERR for a particular fd?
errno
epoll_wait
EPOLLERR
Is there any further information about
Include errno.h and use perror to see the error message. Basically error is from the epfd or interupt, it will not arise from the file descriptor in your set.
if(epoll_wait() == -1) { perror("Epoll error : "); }