about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/select.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 179e1ec59f..0972560b97 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -30,6 +30,9 @@
 /* Get __FD_* definitions.  */
 #include <bits/select.h>
 
+/* Get __sigset_t.  */
+#include <bits/sigset.h>
+
 /* Get definition of timer specification structures.  */
 #define __need_timespec
 #include <time.h>
@@ -79,10 +82,12 @@ extern int select __P ((int __nfds, __fd_set *__readfds,
 /* XXX Once/if POSIX.1g gets official this prototype will be available
    when defining __USE_POSIX.  */
 /* Same as above only that the TIMEOUT value is given with higher
-   resolution.  This version should be used.  */
+   resolution and a sigmask which is been set temporarily.  This version
+   should be used.  */
 extern int pselect __P ((int __nfds, __fd_set *__readfds,
 			 __fd_set *__writefds, __fd_set *__exceptfds,
-			 struct timespec *__timeout));
+			 const struct timespec *__timeout,
+			 const __sigset_t *__sigmask));
 #endif
 
 __END_DECLS