summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-04-02 08:47:19 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-04-02 08:47:19 +0000
commita31f90cb0bc327c8c705a6a0f74eb9be2ef9440b (patch)
tree6e1efd9992430991562644056d355cc1103573f8
parentb0e21dce9558093cceff35f65369b5513eb906c6 (diff)
do not compare SOCK_STREAM sockets to pipes;
from NetBSD (-r1.29); ok markus@ deraadt@
-rw-r--r--lib/libc/sys/socket.24
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.