Go to the previous, next section.

pipe

SYNOPSIS

int pipe(int filedes[2]);

PARAMETERS

filedes: [out] the array containing the end points.

DESCRIPTION

Creates a pair of pipe end points. The flow is from filedes[1] to filedes[0].

RETURN VALUE

On success zero is returned. On error, -1 is returned and errno is set to one of the following values:

Go to the previous, next section.