implement pipe using C
My assignment is going to create a simple shell and can handle pipe using c
such as the command " cat | cat | more"
I have no idea to do this since I don't know much about the pipe
and I don't know how to let the output of the front process be the input of the following process
let "cat | more" as an example
how to make the STDOUT of cat be the STDIN of more?
Last edited by chrislam; 09-13-2007 at 10:09 AM.
|