[][src]Function sys_util::pipe

pub fn pipe(close_on_exec: bool) -> Result<(File, File)>

Spawns a pipe pair where the first pipe is the read end and the second pipe is the write end.

If close_on_exec is true, the O_CLOEXEC flag will be set during pipe creation.