Piping is a process where the input of one process is made the input of another. We have seen examples of this from the UNIX command line using |
We will now see how we do this from C programs.
We will have two (or more) forked processes and will communicate between them.
We must first open a pipe
UNIX allows two ways of opening a pipe.