diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-15 13:14:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-08-15 13:14:13 +0000 |
commit | 0c4766c74e59eaf941f52eec1d34339e20912b11 (patch) | |
tree | 687a83047bdae24bb931e83121ed448ba8ebd93d /lib/libc | |
parent | 45e0ce7bc5618aabe131b9b6929311f7260453c6 (diff) |
more poll
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/accept.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/connect.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 5 | ||||
-rw-r--r-- | lib/libc/sys/recv.2 | 7 | ||||
-rw-r--r-- | lib/libc/sys/send.2 | 7 |
5 files changed, 21 insertions, 7 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 62c45de5d4e..5c02f84dc09 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: accept.2,v 1.8 1999/06/29 14:09:49 aaron Exp $ +.\" $OpenBSD: accept.2,v 1.9 1999/08/15 13:14:11 deraadt Exp $ .\" $NetBSD: accept.2,v 1.7 1996/01/31 20:14:42 mycroft Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -99,6 +99,8 @@ is used with connection-based socket types, currently with .Pp It is possible to .Xr select 2 +or +.Xr poll 2 a socket for the purposes of doing an .Fn accept by selecting it for read. @@ -170,6 +172,7 @@ The system file table is full. .Xr listen 2 , .Xr poll 2 , .Xr select 2 , +.Xr poll 2 , .Xr socket 2 .Sh HISTORY The diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index 092b464ad60..faf95a3913c 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: connect.2,v 1.13 1999/06/29 14:09:53 aaron Exp $ +.\" $OpenBSD: connect.2,v 1.14 1999/08/15 13:14:11 deraadt Exp $ .\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -118,6 +118,8 @@ and the connection cannot be completed immediately. It is possible to .Xr select 2 +or +.Xr poll 2 for completion by selecting the socket for writing, and also use .Xr getsockopt 2 with diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 503d200ec1f..11834aa9304 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.13 1999/07/05 06:08:05 aaron Exp $ +.\" $OpenBSD: getsockopt.2,v 1.14 1999/08/15 13:14:11 deraadt Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -245,6 +245,8 @@ if flow control does not allow the smaller of the low water mark value or the entire request to be processed. A .Xr select 2 +or +.Xr poll 2 operation testing the ability to write to a socket will return true only if the low water mark amount could be processed. The default value for @@ -342,6 +344,7 @@ is not in a valid part of the process address space. .Xr ioctl 2 , .Xr poll 2 , .Xr select 2 , +.Xr poll 2 , .Xr socket 2 , .Xr getprotoent 3 , .Xr protocols 5 diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 65d939dda1f..9140d2909ee 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: recv.2,v 1.20 1999/07/02 20:58:01 aaron Exp $ +.\" $OpenBSD: recv.2,v 1.21 1999/08/15 13:14:12 deraadt Exp $ .\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -110,7 +110,9 @@ described in .Pp The .Xr select 2 -call may be used to determine when more data arrive. +or +.Xr poll 2 +system calls may be used to determine when more data arrive. .Pp The .Fa flags @@ -305,6 +307,7 @@ was less than 0 or larger than .Xr poll 2 , .Xr read 2 , .Xr select 2 , +.Xr poll 2 , .Xr socket 2 .Sh HISTORY The diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2 index 15425903d08..3ee0184af87 100644 --- a/lib/libc/sys/send.2 +++ b/lib/libc/sys/send.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: send.2,v 1.16 1999/06/29 14:10:18 aaron Exp $ +.\" $OpenBSD: send.2,v 1.17 1999/08/15 13:14:12 deraadt Exp $ .\" $NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -90,7 +90,9 @@ normally blocks, unless the socket has been placed in non-blocking I/O mode. The .Xr select 2 -call may be used to determine when it is possible to +or +.Xr poll 2 +system calls may be used to determine when it is possible to send more data. .Pp The @@ -215,6 +217,7 @@ Addresses in the specified address family cannot be used with this socket. .Xr poll 2 , .Xr recv 2 , .Xr select 2 , +.Xr poll 2 , .Xr socket 2 , .Xr write 2 .Sh HISTORY |