1 | #ifndef _SYS_POLL_H |
2 | # include <io/sys/poll.h> |
3 | |
4 | #ifndef _ISOMAC |
5 | extern int __poll (struct pollfd *__fds, unsigned long int __nfds, |
6 | int __timeout); |
7 | libc_hidden_proto (__poll) |
8 | libc_hidden_proto (ppoll) |
9 | |
10 | # if __TIMESIZE == 64 |
11 | # define __ppoll64 __ppoll |
12 | # else |
13 | # include <time.h> |
14 | # include <signal.h> |
15 | |
16 | extern int __ppoll64 (struct pollfd *fds, nfds_t nfds, |
17 | const struct __timespec64 *timeout, |
18 | const sigset_t *sigmask); |
19 | libc_hidden_proto (__ppoll64) |
20 | # endif |
21 | #endif |
22 | #endif |
23 | |