1#ifndef _SYS_SELECT_H
2#include <misc/sys/select.h>
3
4#ifndef _ISOMAC
5/* Now define the internal interfaces. */
6# if __TIMESIZE == 64
7# define __pselect64 __pselect
8# define __select64 __select
9#else
10# include <struct___timespec64.h>
11# include <struct___timeval64.h>
12
13extern int __pselect64 (int __nfds, fd_set *__readfds,
14 fd_set *__writefds, fd_set *__exceptfds,
15 const struct __timespec64 *__timeout,
16 const __sigset_t *__sigmask);
17libc_hidden_proto (__pselect64)
18
19extern int __pselect32 (int __nfds, fd_set *__readfds,
20 fd_set *__writefds, fd_set *__exceptfds,
21 const struct __timespec64 *__timeout,
22 const __sigset_t *__sigmask)
23 attribute_hidden;
24extern int __select32 (int __nfds, fd_set *__readfds,
25 fd_set *__writefds, fd_set *__exceptfds,
26 const struct __timespec64 *ts64,
27 struct __timeval64 *timeout)
28 attribute_hidden;
29
30extern int __select64 (int __nfds, fd_set *__readfds,
31 fd_set *__writefds, fd_set *__exceptfds,
32 struct __timeval64 *__timeout);
33libc_hidden_proto (__select64)
34#endif
35extern int __pselect (int __nfds, fd_set *__readfds,
36 fd_set *__writefds, fd_set *__exceptfds,
37 const struct timespec *__timeout,
38 const __sigset_t *__sigmask);
39
40extern int __select (int __nfds, fd_set *__restrict __readfds,
41 fd_set *__restrict __writefds,
42 fd_set *__restrict __exceptfds,
43 struct timeval *__restrict __timeout);
44libc_hidden_proto (__select)
45
46#endif
47#endif
48

source code of glibc/include/sys/select.h