Searched refs:dup_fd (Results 1 – 1 of 1) sorted by relevance
108 let dup_fd = unsafe { libc::dup(stdout_fd) }; in duplicate_stdout() localVariable109 if dup_fd < 0 { in duplicate_stdout()114 Ok(unsafe { File::from_raw_fd(dup_fd) }) in duplicate_stdout()