home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:3909 comp.unix.questions:9420
- Path: sparky!uunet!dtix!mimsy!nmrdc1!frmug!cpio1!bernard
- From: bernard@cpio1.UUCP (Bernard Fouche)
- Newsgroups: comp.unix.programmer,comp.unix.questions
- Subject: Re: Bidirectional Pipes
- Keywords: pipes
- Message-ID: <1992Jul24.101257.12697@cpio1.UUCP>
- Date: 24 Jul 92 10:12:57 GMT
- References: <1992Jul13.175933.26213@dragon.acadiau.ca> <1992Jul14.061826.11689@Unibase.SK.CA>
- Sender: bernard@cpio1.UUCP (Bernard Fouche)
- Organization: CPIO S.A.
- Lines: 18
-
-
- In article <1992Jul14.061826.11689@Unibase.SK.CA>, roe@Unibase.SK.CA (Roe Peterson) writes:
- > 890025d@dragon.acadiau.ca (Andy DeWolfe) writes:
- > Sorry, but there is no such beastie as a bi-directional pipe. The
- > pipe(2) system call will return two file descriptors, one open for
- > write, and one open for read. Have the reader close the write end, and
- > the writer close the read end.
- >
- > You can't use pipe to communicate in both direction over one file
- > descriptor.
-
- Yes you can, since System V Release 4.0 at least. Get the man page of
- pipe(2) for this release...
- --
- -----------------------------------------------------------------------------
- Bernard Fouche VOX : +(33) (1) 48.04.56.30 FAX : (33) (1) 48.04.98.95|
- Email : bernard@cpio1.UUCP or cpio1!bernard@gna.org (try both!)
- Postal Mail : CPIO S.A., 13-15 Rue de la Verrerie, 75004 Paris, France
-