I am trying to execute to child processes(fork(2)) using the stdout from the first as stdin for the secound. (like ./first.o | ./sec.o)
I am already able to pipe when I am executing one process (like ./first.o < in.txt > out.txt). 
Here i am using open(2) and dup2()to redirect the stdin and stdout to a file.
But how am I able to use stdout from one process as stdin from another?
Thanks in advance!
