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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to