nix::unistd

Function dup2_stderr

Source
pub fn dup2_stderr<Fd: AsFd>(fd: Fd) -> Result<()>
Expand description

Duplicate fd with Stderr, i.e., Stderr redirection.

ยงExamples

See the example of dup2_stdout()