[−][src]Function linux::syscall::pipe2
pub fn pipe2(fds: &mut [c_int; 2], flags: c_int) -> c_int
Creates a new pipe.
[argument, fds] The buffer in which the ends of the pipe will be placed.
[argument, flags] Flags for creating the pipe.
= Remarks
Unless lrs was compiled with the no-auto-cloexec
flag, this function automatically
adds the O_CLOEXEC
flag.
= See also
- link:man:pipe2(2)