Manpages PIPESection: Linux Programmer's Manual (2)Updated: 1993-07-23 Index Return to Main Contents NAMEpipe - create pipeSYNOPSIS#include <unistd.h>DESCRIPTIONpipe 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.RETURN VALUEOn success, zero is returned. On error, -1 is returned, and errno is set appropriately.ERRORS
CONFORMING TOSVr4, SVID, AT&T, POSIX, X/OPEN, BSD 4.3SEE ALSOread(2), write(2), fork(2), socketpair(2)
IndexThis document was created by man2html, using the manual pages. Time: 01:36:02 GMT, July 02, 2025 |