mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
a759fd52db
Programming Volume 1, 2nd Edition". It contains the library and headers used in the examples as well as all programs from the text that compile on FreeBSD systems. PR: ports/14057 Submitted by: James FitzGibbon <james@targetnet.com>
23 lines
404 B
Plaintext
23 lines
404 B
Plaintext
--- lib/wrapsock_r.c.orig Thu Sep 30 12:04:02 1999
|
|
+++ lib/wrapsock_r.c Thu Sep 30 12:04:10 1999
|
|
@@ -97,19 +97,6 @@
|
|
}
|
|
/* end Listen */
|
|
|
|
-#ifdef HAVE_POLL
|
|
-int
|
|
-Poll(struct pollfd *fdarray, unsigned long nfds, int timeout)
|
|
-{
|
|
- int n;
|
|
-
|
|
- if ( (n = poll(fdarray, nfds, timeout)) < 0)
|
|
- err_sys("poll error");
|
|
-
|
|
- return(n);
|
|
-}
|
|
-#endif
|
|
-
|
|
ssize_t
|
|
Recv(int fd, void *ptr, size_t nbytes, int flags)
|
|
{
|