Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




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


With any suggestions or questions please feel free to contact us