2 #include <misc/sys/select.h>
5 /* Now define the internal interfaces. */
7 #include <bits/select-decl.h>
8 libc_hidden_proto (__fdelt_chk
)
11 # define __pselect64 __pselect
12 # define __select64 __select
14 # include <struct___timespec64.h>
15 # include <struct___timeval64.h>
17 extern int __pselect64 (int __nfds
, fd_set
*__readfds
,
18 fd_set
*__writefds
, fd_set
*__exceptfds
,
19 const struct __timespec64
*__timeout
,
20 const __sigset_t
*__sigmask
);
21 libc_hidden_proto (__pselect64
)
23 extern int __pselect32 (int __nfds
, fd_set
*__readfds
,
24 fd_set
*__writefds
, fd_set
*__exceptfds
,
25 const struct __timespec64
*__timeout
,
26 const __sigset_t
*__sigmask
)
28 extern int __select32 (int __nfds
, fd_set
*__readfds
,
29 fd_set
*__writefds
, fd_set
*__exceptfds
,
30 const struct __timespec64
*ts64
,
31 struct __timeval64
*timeout
)
34 extern int __select64 (int __nfds
, fd_set
*__readfds
,
35 fd_set
*__writefds
, fd_set
*__exceptfds
,
36 struct __timeval64
*__timeout
);
37 libc_hidden_proto (__select64
)
39 extern int __pselect (int __nfds
, fd_set
*__readfds
,
40 fd_set
*__writefds
, fd_set
*__exceptfds
,
41 const struct timespec
*__timeout
,
42 const __sigset_t
*__sigmask
);
44 extern int __select (int __nfds
, fd_set
*__restrict __readfds
,
45 fd_set
*__restrict __writefds
,
46 fd_set
*__restrict __exceptfds
,
47 struct timeval
*__restrict __timeout
);
48 libc_hidden_proto (__select
)