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[2]); Syntax: int fd[2]; pipe(fd); | 
Once the pipe has been executed, the data can be transfered using read and write.
 read and write fixed length records.
 read and write fixed length records. 
 read and write variable length records.
 read and write variable length records. 
 fork
fork 
 popen function.
popen function.
 pclose function.
pclose function.
 read function.
read function.
 write function.
write function.
| Top | Master Index | Keywords | Functions |