elf: Refactor process_envvars
[glibc.git] / include / sys / poll.h
blob228704fe794ea210d6ffdb1af9dd3c869867e58c
1 #ifndef _SYS_POLL_H
2 # include <io/sys/poll.h>
4 #ifndef _ISOMAC
5 #include <include/struct___timespec64.h>
7 extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
8 int __timeout);
9 libc_hidden_proto (__poll)
10 libc_hidden_proto (ppoll)
12 # if __TIMESIZE == 64
13 # define __ppoll64 ppoll
14 # define __ppoll64_chk __ppoll_chk
15 # else
16 # include <time.h>
17 # include <signal.h>
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