Go to the previous, next section.
int pipe(int filedes[2]);
filedes: [out] the array containing the end points.
Creates a pair of pipe end points. The flow is from filedes[1] to filedes[0].
On success zero is returned. On error, -1 is returned and errno
is
set to one of the following values:
EMFILE
, ENFILE
and EFAULT
.
Go to the previous, next section.