I can't find example in this site about reading from 2 pipes. One of the pipe will be read and the other pipe used for writing.
I understand in the c program, I will need to do the following:
1. Create 2 pipes
2. On 1st pipe - close the write pipe and dup2 the read pipe
3. On 2nd pipe - close the read pipe and dup2 write pipe
Basically the program will bounce the input / output between these 2 pipes. Any idea