Files
glibc/include/sys/select.h
T

48 lines
1.4 KiB
C
Raw Normal View History

1998-09-06 23:45:24 +00:00
#ifndef _SYS_SELECT_H
#include <misc/sys/select.h>
1998-08-09 17:39:48 +00: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;
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);
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,
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
#endif