PIPESection: Linux Programmer's Manual (2)
Return to Main Contents
NAMEpipe - create pipe
DESCRIPTIONpipe creates a pair of file descriptors, pointing to a pipe inode, and places them in the array pointed to by filedes. filedes is for reading, filedes is for writing.
RETURN VALUEOn success, zero is returned. On error, -1 is returned, and errno is set appropriately.
CONFORMING TOSVr4, SVID, AT&T, POSIX, X/OPEN, BSD 4.3
SEE ALSOread(2), write(2), fork(2), socketpair(2)
This document was created by man2html, using the manual pages.
Time: 15:19:38 GMT, July 17, 2018