summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-12-10 02:34:25 +0000
committerderaadt <deraadt@openbsd.org>2000-12-10 02:34:25 +0000
commit99e0e7154ba9bc40a8b69f476e148c39804064cc (patch)
tree0cb991311f6a086644b13bc6c7cae66d411849bc /lib/libc
parentchange default connection protocol from "rsh" to "ssh", so that CVS_RSH (diff)
downloadwireguard-openbsd-99e0e7154ba9bc40a8b69f476e148c39804064cc.tar.xz
wireguard-openbsd-99e0e7154ba9bc40a8b69f476e148c39804064cc.zip
document that pipe is actually bidirectional, but that people should avoid use of such in portable code; akr@m17n.org
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/pipe.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2
index 957f9bcf215..5cae0c65eee 100644
--- a/lib/libc/sys/pipe.2
+++ b/lib/libc/sys/pipe.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pipe.2,v 1.8 2000/10/18 05:12:10 aaron Exp $
+.\" $OpenBSD: pipe.2,v 1.9 2000/12/10 02:34:25 deraadt Exp $
.\" $NetBSD: pipe.2,v 1.6 1995/02/27 12:35:27 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -103,6 +103,11 @@ The
.Fn pipe
function conforms to
.St -p1003.1-88 .
+.Pp
+As an extension, the pipe provided is actually capable of moving
+data bidirectionally.
+However, this is non-standard behaviour which should not be relied on,
+for reasons of portability.
.Sh HISTORY
A
.Fn pipe