poll.c 161 B

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