about summary refs log tree commit diff
path: root/include/sys/select.h
blob: b5ae9af861aabfb5b8bff2e5260199c7700dd456 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _SYS_SELECT_H
#include <misc/sys/select.h>

#ifndef _ISOMAC
/* Now define the internal interfaces.  */
# if __TIMESIZE == 64
#  define __pselect64 __pselect
#else
# include <struct___timespec64.h>
extern int __pselect64 (int __nfds, fd_set *__readfds,
			fd_set *__writefds, fd_set *__exceptfds,
			const struct __timespec64 *__timeout,
			const __sigset_t *__sigmask);
libc_hidden_proto (__pselect64)

extern int __pselect32 (int __nfds, fd_set *__readfds,
			fd_set *__writefds, fd_set *__exceptfds,
			const struct __timespec64 *__timeout,
			const __sigset_t *__sigmask)
  attribute_hidden;
#endif
extern int __pselect (int __nfds, fd_set *__readfds,
		      fd_set *__writefds, fd_set *__exceptfds,
		      const struct timespec *__timeout,
		      const __sigset_t *__sigmask);

extern int __select (int __nfds, fd_set *__restrict __readfds,
		     fd_set *__restrict __writefds,
		     fd_set *__restrict __exceptfds,
		     struct timeval *__restrict __timeout);
libc_hidden_proto (__select)

#endif
#endif