LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: David Newall <davidn@rebel.net.au>
  To  : Jake Hawkes <jake@eclectic.com.au>
  Date: Tue, 18 May 1999 19:47:24 +0930 (CST)

Re: PRO: (c-code)writing and reading from pipes

On Tue, 18 May 1999, Jake Hawkes wrote:
>> I believe FIFOs are unidirectional, so you will need two of them.
> dont know about _uni_directional, the writing process got the data back
> from the pipe, and I was sure to zero the contents before 

To give a more complete answer, FIFOs (or pipes) are uni-directional,
however some Unixes implement them using internally looped sockets.
Sockets are bi-directional and so those Unixes probably give you
bi-directional FIFOs.  Relying on this feature is wrong.  Just like
void main() is wrong.  ;-)

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page