1 2 3 4 5 6 7
#include <sys/epoll.h> #include "syscall.h" int epoll_wait(int fd, struct epoll_event *ev, int cnt, int to) { return syscall(SYS_epoll_wait, fd, ev, cnt, to); }