1 2 3 4 5 6 7 8
#include <poll.h> #include "syscall.h" #include "libc.h" int poll(struct pollfd *fds, nfds_t n, int timeout) { return syscall_cp(SYS_poll, fds, n, timeout); }