about summary refs log tree commit diff
path: root/include/sys/poll.h
blob: f904e21f89ab8e35ef9090edb7d16417d87551bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef	_SYS_POLL_H
# include <io/sys/poll.h>

#ifndef _ISOMAC
extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
		   int __timeout);
libc_hidden_proto (__poll)
libc_hidden_proto (ppoll)

# if __TIMESIZE == 64
#  define __ppoll64 __ppoll
# else
# include <time.h>
# include <signal.h>

extern int __ppoll64 (struct pollfd *fds, nfds_t nfds,
                      const struct __timespec64 *timeout,
                      const sigset_t *sigmask);
libc_hidden_proto (__ppoll64)
# endif
#endif
#endif