7 int poll(struct pollfd
*fds
, nfds_t n
, int timeout
)
10 return syscall_cp(SYS_poll
, fds
, n
, timeout
);
12 return syscall_cp(SYS_ppoll
, fds
, n
, timeout
>=0 ?
13 &((struct timespec
){ .tv_sec
= timeout
/1000,
14 .tv_nsec
= timeout
%1000*1000000 }) : 0, 0, _NSIG
/8);