pub fn dup2_stdin<Fd: AsFd>(fd: Fd) -> Result<()>
Duplicate fd with Stdin, i.e., Stdin redirection.
fd