Creates a new pipe.
fn pipe2(fds: &mut [i32; 2], flags: i32) -> i32
| Name | Description |
|---|---|
| fds | The buffer in which the ends of the pipe will be placed. |
| flags | Flags for creating the pipe. |
Unless lrs was compiled with the no-auto-cloexec flag, this function automatically adds the O_CLOEXEC flag.