1998-09-06 23:45:24 +00:00
|
|
|
#ifndef _SYS_SELECT_H
|
1996-07-04 00:07:18 +00:00
|
|
|
#include <misc/sys/select.h>
|
1998-08-09 17:39:48 +00:00
|
|
|
|
2012-02-25 23:18:39 -05:00
|
|
|
#ifndef _ISOMAC
|
1998-08-09 17:39:48 +00:00
|
|
|
/* Now define the internal interfaces. */
|
2020-07-06 13:27:12 -03:00
|
|
|
# if __TIMESIZE == 64
|
|
|
|
|
# define __pselect64 __pselect
|
2020-07-06 16:06:51 -03:00
|
|
|
# define __select64 __select
|
2020-07-06 13:27:12 -03:00
|
|
|
#else
|
|
|
|
|
# include <struct___timespec64.h>
|
2020-07-06 16:06:51 -03:00
|
|
|
# include <struct___timeval64.h>
|
|
|
|
|
|
2020-07-06 13:27:12 -03:00
|
|
|
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;
|
2021-06-15 21:00:50 -03:00
|
|
|
extern int __select32 (int __nfds, fd_set *__readfds,
|
|
|
|
|
fd_set *__writefds, fd_set *__exceptfds,
|
|
|
|
|
const struct __timespec64 *ts64,
|
|
|
|
|
struct __timeval64 *timeout)
|
|
|
|
|
attribute_hidden;
|
2020-07-06 16:06:51 -03:00
|
|
|
|
|
|
|
|
extern int __select64 (int __nfds, fd_set *__readfds,
|
|
|
|
|
fd_set *__writefds, fd_set *__exceptfds,
|
|
|
|
|
struct __timeval64 *__timeout);
|
|
|
|
|
libc_hidden_proto (__select64)
|
2020-07-06 13:27:12 -03:00
|
|
|
#endif
|
2001-01-27 19:28:32 +00:00
|
|
|
extern int __pselect (int __nfds, fd_set *__readfds,
|
|
|
|
|
fd_set *__writefds, fd_set *__exceptfds,
|
1999-11-23 17:31:31 +00:00
|
|
|
const struct timespec *__timeout,
|
|
|
|
|
const __sigset_t *__sigmask);
|
2000-08-23 17:05:51 +00:00
|
|
|
|
2001-01-27 19:28:32 +00:00
|
|
|
extern int __select (int __nfds, fd_set *__restrict __readfds,
|
|
|
|
|
fd_set *__restrict __writefds,
|
|
|
|
|
fd_set *__restrict __exceptfds,
|
2000-08-23 17:05:51 +00:00
|
|
|
struct timeval *__restrict __timeout);
|
2002-08-03 07:02:10 +00:00
|
|
|
libc_hidden_proto (__select)
|
|
|
|
|
|
1998-09-06 23:45:24 +00:00
|
|
|
#endif
|
2012-02-25 23:18:39 -05:00
|
|
|
#endif
|