Home
last modified time | relevance | path

Searched refs:epfd (Results 1 – 3 of 3) sorted by relevance

/libevent-2.1.12/
H A Depoll.c89 int epfd; member
143 int epfd = -1; in epoll_init() local
148 epfd = epoll_create1(EPOLL_CLOEXEC); in epoll_init()
150 if (epfd == -1) { in epoll_init()
153 if ((epfd = epoll_create(32000)) == -1) { in epoll_init()
158 evutil_make_socket_closeonexec(epfd); in epoll_init()
162 close(epfd); in epoll_init()
166 epollop->epfd = epfd; in epoll_init()
172 close(epfd); in epoll_init()
534 if (epollop->epfd >= 0) in epoll_dealloc()
[all …]
H A Depoll_sub.c52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl() argument
55 return (syscall(__NR_epoll_ctl, epfd, op, fd, event)); in epoll_ctl()
59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() argument
62 return (syscall(__NR_epoll_pwait, epfd, events, maxevents, timeout, NULL, 0)); in epoll_wait()
64 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout)); in epoll_wait()
H A Dconfigure.ac635 int epfd;
637 epfd = epoll_create(256);
638 return (epfd == -1 ? 1 : 0);