diff options
author | 2004-04-02 08:47:18 +0000 | |
---|---|---|
committer | 2004-04-02 08:47:18 +0000 | |
commit | 5db13762a1658793150f38fd2cdc4f084259b538 (patch) | |
tree | 0fe17883645c69e9fe0936ca2c7836f8bbe3ea86 /lib/libc | |
parent | typos; (diff) | |
download | wireguard-openbsd-5db13762a1658793150f38fd2cdc4f084259b538.tar.xz wireguard-openbsd-5db13762a1658793150f38fd2cdc4f084259b538.zip |
do not compare SOCK_STREAM sockets to pipes;
from NetBSD (-r1.29);
ok markus@ deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/socket.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index b1b76055a21..9c736db5049 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: socket.2,v 1.20 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: socket.2,v 1.21 2004/04/02 08:47:18 jmc Exp $ .\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -122,7 +122,7 @@ socket type. .Pp Sockets of type .Dv SOCK_STREAM -are full-duplex byte streams, similar to pipes. +are full-duplex byte streams. A stream socket must be in a .Em connected state before any data may be sent or received on it. |