Summary


In this chapter, we took a very quick review of anonymous and named pipes. We reviewed application and command-line methods for creating pipes and also reviewed typical I/O mechanisms for communicating through them. We also reviewed the ability to redirect I/O using the dup and dup2 commands. While useful for pipes, these commands are useful in many other scenarios as well (wherever a file descriptor is used, such as a socket or file).




GNU/Linux Application Programming
GNU/Linux Application Programming (Programming Series)
ISBN: 1584505680
EAN: 2147483647
Year: 2006
Pages: 203
Authors: M. Tim Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net