C program demonstrating use of pipe system call in linux (sending message from child process to parent process)


 
Output :
dell@linuxmint ~ $ gcc pipe.c
dell@linuxmint ~ $ ./a.out
Now in parent process
Now in child process
Now again in parent process
message from child

Leave a Reply