summaryrefslogtreecommitdiffstats
path: root/libc/include/sys/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/select.h')
-rw-r--r--libc/include/sys/select.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/include/sys/select.h b/libc/include/sys/select.h
index 52315b9..9d11ee8 100644
--- a/libc/include/sys/select.h
+++ b/libc/include/sys/select.h
@@ -31,12 +31,15 @@
#include <sys/cdefs.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <signal.h>
__BEGIN_DECLS
typedef __kernel_fd_set fd_set;
extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
+extern int pselect(int n, fd_set *readfds, fd_set *writefds, fd_set *errfds,
+ const struct timespec *timeout, const sigset_t *sigmask);
__END_DECLS