Date: Sun, 07 Mar 1999 02:34:23 +0000 From: Brian Somers <brian@Awfulhak.org> To: freebsd-hackers@FreeBSD.org Subject: pipe(2) Message-ID: <199903070234.CAA12643@keep.lan.Awfulhak.org>
index | next in thread | raw e-mail
Hi,
Should pipe(2) be a bit stronger about what's ``conventional'' and
mention that two uni-directional descriptors are returned by most
operating systems ? I've been stung twice recently because I've
assumed that the descriptors are bidirectional :-(
If there are no objections, I'll update the man page:
Index: pipe.2
===================================================================
RCS file: /home/ncvs/src/lib/libc/sys/pipe.2,v
retrieving revision 1.7
diff -u -r1.7 pipe.2
--- pipe.2 1997/01/20 23:18:01 1.7
+++ pipe.2 1999/03/07 02:32:11
@@ -111,6 +111,9 @@
.Xr read 2 ,
.Xr socketpair 2 ,
.Xr write 2
+.Sh STANDARDS
+POSIX does not require that each descriptor is bidirectional. For
+portability reasons, unidirectional descriptors should be assumed.
.Sh HISTORY
A
.Fn pipe
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
<http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour !
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903070234.CAA12643>
