Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2001 02:44:00 +1030 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        fs@FreeBSD.ORG, hackers@FreeBSD.ORG, Kris Kennaway <kris@obsecurity.org>, Duncan Barclay <dmlb@dmlb.org>, Tony Finch <dot@dotat.at>, Dag-Erling Smorgrav <des@ofug.org>
Subject:   Re: httpfs
Message-ID:  <XFMail.010318024400.doconnor@gsoft.com.au>
In-Reply-To: <20010317180055.A486@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17-Mar-01 Peter Pentchev wrote:
>  Actually, I want socketpair(2).  pipe(2) was what I used before,
>  and that's the reason I had a read-only file descriptor - the portalfs
>  architecture allows for only one fd to be returned, and pipe(2)
>  provides a one-way pipe.  I dup2'd stdout and stderr of the executed
>  program to the child fd, and the parent could read its output, yet
>  not write to its stdin.

pipe's are bidirectional in FreeBSD..

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010318024400.doconnor>