path: root/cpukit/libnetworking/sys/select.h
diff options
Diffstat (limited to 'cpukit/libnetworking/sys/select.h')
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/libnetworking/sys/select.h b/cpukit/libnetworking/sys/select.h
index e69971e3b6..97cddbe3df 100644
--- a/cpukit/libnetworking/sys/select.h
+++ b/cpukit/libnetworking/sys/select.h
@@ -54,4 +54,14 @@ void selrecord __P((struct proc *selector, struct selinfo *));
void selwakeup __P((struct selinfo *));
+/* Check the first NFDS descriptors each in READFDS (if not NULL) for read
+ 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. */
+extern int select (int __nfds, fd_set *__readfds,
+ fd_set *__writefds,
+ fd_set *__exceptfds,
+ struct timeval *__timeout);
#endif /* !_SYS_SELECT_H_ */