This session deals with the concept and use of pipes in a C program using the pipe() system call. How to use a pipe for IPC among related processes for unidirectional communication. The concept of using two pipes for bidirectional communication is also discussed and a proof of concept is given by a sample program. Finally a C program code is discussed that simulate the shell command man ls | grep ls | wc
Email: arif@pucit.edu.pk Example Codes: https://bitbucket.org/arifpucit/spvl-repo/src