29 #include <sys/param.h>
30 #include <sys/types.h>
31 #include <sys/syscall.h>
32 #include <sys/epoll.h>
36 epoll_create(
int size)
38 return (syscall(__NR_epoll_create, size));
42 epoll_ctl(
int epfd,
int op,
int fd,
struct epoll_event *
event)
45 return (syscall(__NR_epoll_ctl, epfd, op, fd, event));
49 epoll_wait(
int epfd,
struct epoll_event *events,
int maxevents,
int timeout)
51 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout));