1
0

ppoll.c 253 B

123456789
  1. #define _GNU_SOURCE
  2. #include <poll.h>
  3. #include "syscall.h"
  4. int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
  5. {
  6. return syscall_cp(SYS_ppoll, fds, n,
  7. to ? (struct timespec []){*to} : 0, mask, __SYSCALL_SSLEN);
  8. }