}
}
+void epoll_unregister(int fd)
+{
+ if (epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL)) {
+ UNIXERR("epoll_ctl");
+ abort();
+ }
+}
+
int epoll_select(struct epoll_event *events, int maxevents, int timeout)
{
return epoll_wait(epollfd, events, maxevents, timeout);