| Rev | Author | # | Line |
|---|---|---|---|
| 1 | perry | 1 | !!NAME |
| 2 | PerryLorier | 2 | pipe - create pipe |
| 1 | perry | 3 | |
| 4 | !!SYNOPSIS | ||
| 2 | PerryLorier | 5 | __#include <unistd.h>__ |
| 1 | perry | 6 | |
| 2 | PerryLorier | 7 | __int pipe(int__ ''filedes''__[[2]);__ |
| 1 | perry | 8 | |
| 9 | !!DESCRIPTION | ||
| 2 | PerryLorier | 10 | 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. |
| 1 | perry | 11 | |
| 12 | !!RETURN VALUE | ||
| 2 | PerryLorier | 13 | On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately. |
| 1 | perry | 14 | |
| 15 | !!ERRORS | ||
| 2 | PerryLorier | 16 | ;[EMFILE]: Too many file descriptors are in use by the process. |
| 17 | ;[ENFILE]: The system file table is full. | ||
| 18 | ;[EFAULT]: ''filedes'' is not valid. | ||
| 1 | perry | 19 | |
| 20 | !!CONFORMING TO | ||
| 2 | PerryLorier | 21 | SVr4, SVID, AT |
| 1 | perry | 22 | |
| 23 | !!SEE ALSO | ||
| 2 | PerryLorier | 24 | read(2), write(2), fork(2), socketpair(2) |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 7 times)