2 #include <asm/unistd.h>
7 # include <sys/epoll.h>
13 struct epoll_event *const ev = tail_alloc(sizeof(*ev));
15 long rc = syscall(__NR_epoll_wait, -1, ev, 1, -2);
16 printf("epoll_wait(-1, %p, 1, -2) = %ld %s (%m)\n",
17 ev, rc, errno2name());
19 puts("+++ exited with 0 +++");
25 SKIP_MAIN_UNDEFINED("__NR_epoll_wait")