Article View: comp.unix.programmer
Article #120Re: Bidirectional Pipes
From: Bernard Fouche
Date: Fri, 24 Jul 1992 10:12
Date: Fri, 24 Jul 1992 10:12
18 lines
1347 bytes
1347 bytes
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
Technical Details
Message-ID:
<1992Jul24.101257.12697@cpio1.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!mimsy!nmrdc1!frmug!cpio1!bernardReferences:
<1992Jul13.175933.26213@dragon.acadiau.ca> <1992Jul14.061826.11689@Unibase.SK.CA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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