pub fn dup2_stderr<Fd>(fd: Fd) -> Result<(), Errno> ⓘwhere Fd: AsFd,
dep_rustix
Utility function to safely dup2 over stderr (fd 2).
dup2