From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 08:37:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3001316A4CE; Tue, 3 Feb 2004 08:37:21 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0E7043D1D; Tue, 3 Feb 2004 08:37:19 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id B60095309; Tue, 3 Feb 2004 17:37:17 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id DA95E5308; Tue, 3 Feb 2004 17:37:11 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 5B0B333C6A; Tue, 3 Feb 2004 17:37:11 +0100 (CET) To: Peter Edwards References: <401FCCBE.2010008@openet-telecom.com> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 03 Feb 2004 17:37:11 +0100 In-Reply-To: <401FCCBE.2010008@openet-telecom.com> (Peter Edwards's message of "Tue, 03 Feb 2004 16:30:54 +0000") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 cc: Robert Watson cc: current@FreeBSD.org Subject: Re: Coalescing pipe allocation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 16:37:21 -0000 Peter Edwards writes: > How would one "shut down" one direction of the pipe and still maintain > the other? I don't know how I can signal my intention not to read or > write to the end I leave open... man 2 shutdown > Is this portability issue so ridiculously out of date that the comment > in the pipe(2) manpage should be removed, or at least toned down? No, POSIX only guarantees the traditional behaviour. Bi-directional pipes are a non-portable BSDism. > It > seems silly to incur the costs of implementation you've mentioned and > then recommend that the feature not be used. It can still be useful for programs in the base system, which do not need to be unconditionally portable to non-BSD systems. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no