Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

  next up previous contents
Next: 6.3 Named Pipes (FIFOs Up: 6.2 Half-duplex UNIX Pipes Previous: 6.2.4 Atomic Operations with

6.2.5 Notes on half-duplex pipes:

  • Two way pipes can be created by opening up two pipes, and properly reassigning the file descriptors in the child process.
  • The pipe() call must be made BEFORE a call to fork(), or the descriptors will not be inherited by the child! (same for popen()).
  • With half-duplex pipes, any connected processes must share a related ancestry. Since the pipe resides within the confines of the kernel, any process that is not in the ancestry for the creator of the pipe has no way of addressing it. This is not the case with named pipes (FIFOS).


Converted on:
Fri Mar 29 14:43:04 EST 1996
 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "e". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.