pipe creates two file descriptors which can be used by parent and child processes to communicate data. A child process can be created with the fork function.
Library: unistd.h Prototype: int pipe(int fd); Syntax: int fd; pipe(fd);
Once the pipe has been executed, the data can be transfered using read and write.
read and write variable length records.