Function dup2_stderr

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

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

Examples

See the example of dup2_stdout()