Linux & Shell · Concept
Pipes
A Linux pipe is a one-way byte stream between processes. pipe() returns separate file descriptors for reading and writing; reads and writes normally wait when the pipe cannot proceed.
Last updated
Syntax
int pipe(int pipefd[2]);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
pipe(2)mkfifo(3)fifo(7)read(2)write(2)fcntl(2)FIONREADF_SETPIPE_SZ