2 #include <misc/sys/select.h>
5 /* Now define the internal interfaces. */
7 # define __pselect64 __pselect
8 # define __select64 __select
10 # include <struct___timespec64.h>
11 # include <struct___timeval64.h>
13 extern int __pselect64 (int __nfds
, fd_set
*__readfds
,
14 fd_set
*__writefds
, fd_set
*__exceptfds
,
15 const struct __timespec64
*__timeout
,
16 const __sigset_t
*__sigmask
);
17 libc_hidden_proto (__pselect64
)
19 extern int __pselect32 (int __nfds
, fd_set
*__readfds
,
20 fd_set
*__writefds
, fd_set
*__exceptfds
,
21 const struct __timespec64
*__timeout
,
22 const __sigset_t
*__sigmask
)
24 extern int __select32 (int __nfds
, fd_set
*__readfds
,
25 fd_set
*__writefds
, fd_set
*__exceptfds
,
26 const struct __timespec64
*ts64
,
27 struct __timeval64
*timeout
)
30 extern int __select64 (int __nfds
, fd_set
*__readfds
,
31 fd_set
*__writefds
, fd_set
*__exceptfds
,
32 struct __timeval64
*__timeout
);
33 libc_hidden_proto (__select64
)
35 extern int __pselect (int __nfds
, fd_set
*__readfds
,
36 fd_set
*__writefds
, fd_set
*__exceptfds
,
37 const struct timespec
*__timeout
,
38 const __sigset_t
*__sigmask
);
40 extern int __select (int __nfds
, fd_set
*__restrict __readfds
,
41 fd_set
*__restrict __writefds
,
42 fd_set
*__restrict __exceptfds
,
43 struct timeval
*__restrict __timeout
);
44 libc_hidden_proto (__select
)