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