pipe - create pipe
#include <unistd.h>
int pipe(int filedes[2?);
pipe(2) creates a pair of file descriptors, pointing to a pipe inode, and places them in the array pointed to by filedes. filedes[0? is for reading, filedes[1? is for writing.
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
SVr4, SVID, AT
11 pages link to pipe(2):