Pipe() tutorial for linux



Pipe() tutorial for linux

Pipe() tutorial for linux

Tutorial for the pipe() system call.

In this video, we illustrate the basics of pipe() and how you can use it to allow multiple processes or programs to communicate with each other. Pipe() takes in an int array of size two, and the indices of this array will act as each end of our pipe. It is now possible to disconnect stdin and stdout from the terminal and reconnect (stdin and stdout) with the ends of the pipe to allow communications between different processes.

Comments are closed.