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