execve


The following program demonstrates the use of the pipe and dup2 system calls to execute the pipeline ls | wc -l.

pipe_ls_wc.c