Module sys/pipe
sys/pipe
Pipe and file descriptor duplication operations.
Synchronous wrappers for pipe/dup/dup2.
These are inherently synchronous kernel operations on all platforms.
Return values
pipe: 0 on success, -errno on failuredup/dup2: new fd on success, -errno on failure