/* Main body: wait something to report */ while (1) { if ((n=epoll_wait(epfd, events, MAX_EPOLL_EV, -1)) < 0) die("error on epoll_wait"); for (i=0; i