From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6f2597316d0e00150a0c4bd2cc06bcee@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] trying to understand how fork/pipe a filtering program Date: Thu, 31 Aug 2006 23:43:49 -0400 From: geoff@plan9.bell-labs.com In-Reply-To: <200608311955.k7VJtwv29679@demeter.cs.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: acc3810c-ead1-11e9-9d60-3106f5b1d025 Maybe it's been too long a week, but I could have sworn that a Plan 9 pipe was a pair of unidirectional channels (queues in Streams terminology), so closing one end would cause a zero-byte read at the other, independently in each direction. pipe(3) seems to support this.