summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-12-10 02:34:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-12-10 02:34:26 +0000
commit6c56487b9b544b61cbbcf2ca731c72008e8fb3b3 (patch)
tree5c7865c5e1b4feb0ab350e6d5241b84144ce999e /lib/libc/sys
parent07ccd16941578ad942c9be91f965177d7ed1ec04 (diff)
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/sys')
-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