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 Funktion.
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 variable length records.
popen Funktion.
pclose Funktion.
read Funktion.
write Funktion.
| Anfang | Hauptindex | Schlüsselwörter | Funktionen |