2002-07-24 Joel Sherrill <joel@OARcorp.com>

* sys/select.h: Add a prototype of select() to avoid warnings.
	In particular a C++ application using select() required a prototype.
This commit is contained in:
Joel Sherrill committed 2002-07-24 13:25:50 +00:00
1 parent ce75da600a
commit 7b43151410
2 files changed
+15

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2002-07-24 Joel Sherrill <joel@OARcorp.com>
* sys/select.h: Add a prototype of select() to avoid warnings.
In particular a C++ application using select() required a prototype.
2002-07-24 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, libc/res_send.c: Do not install or use <poll.h>
+10
View File
@@ -54,4 +54,14 @@ void selrecord __P((struct proc *selector, struct selinfo *));
void selwakeup __P((struct selinfo *));
#endif
/* 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_ */