summaryrefslogtreecommitdiff
path: root/misc/sys/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/select.h')
-rw-r--r--misc/sys/select.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index dc58ec6c2d..2a408433ec 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -1,5 +1,5 @@
/* `fd_set' type and related macros, and `select'/`pselect' declarations.
- Copyright (C) 1996,97,98,99,2000,01,02 Free Software Foundation, Inc.
+ Copyright (C) 1996,97,98,99,2000,01,02,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -102,21 +102,27 @@ __BEGIN_DECLS
readiness, in WRITEFDS (if not NULL) for write readiness, and in EXCEPTFDS
(if not NULL) for exceptional conditions. If TIMEOUT is not NULL, time out
after waiting the interval specified therein. Returns the number of ready
- descriptors, or -1 for errors. */
+ descriptors, or -1 for errors.
+
+ This function is a cancellation point and therefore not marked with
+ __THROW. */
extern int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
- struct timeval *__restrict __timeout) __THROW;
+ struct timeval *__restrict __timeout);
#ifdef __USE_XOPEN2K
/* Same as above only that the TIMEOUT value is given with higher
resolution and a sigmask which is been set temporarily. This version
- should be used. */
+ should be used.
+
+ This function is a cancellation point and therefore not marked with
+ __THROW. */
extern int pselect (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
const struct timespec *__restrict __timeout,
- const __sigset_t *__restrict __sigmask) __THROW;
+ const __sigset_t *__restrict __sigmask);
#endif
__END_DECLS