From owner-freebsd-hackers Sun Mar 7 12:52:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (Postfix) with ESMTP id EA87914D6A for ; Sun, 7 Mar 1999 12:52:41 -0800 (PST) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id NAA00926; Sun, 7 Mar 1999 13:52:24 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp01.primenet.com, id smtpd000916; Sun Mar 7 13:52:23 1999 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id NAA28076; Sun, 7 Mar 1999 13:52:22 -0700 (MST) From: Terry Lambert Message-Id: <199903072052.NAA28076@usr04.primenet.com> Subject: Re: pipe(2) To: brian@Awfulhak.org (Brian Somers) Date: Sun, 7 Mar 1999 20:52:21 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199903070234.CAA12643@keep.lan.Awfulhak.org> from "Brian Somers" at Mar 7, 99 02:34:23 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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: [ ... ] > +.Sh STANDARDS > +POSIX does not require that each descriptor is bidirectional. For > +portability reasons, unidirectional descriptors should be assumed. > .Sh HISTORY In addition to the statement: The bidirectional nature of this implementation of pipes is not portable to older systems, so it is recommended to use the convention for using the endpoints in the traditional manner when using a pipe in one direc- tion. I guess? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message