devela::_dep::rustix::pipe

Function pipe

pub fn pipe() -> Result<(OwnedFd, OwnedFd), Errno> 
Available on crate feature dep_rustix only.
Expand description

pipe()—Creates a pipe.

This function creates a pipe and returns two file descriptors, for the reading and writing ends of the pipe, respectively.

§References