Function libc::dup [] [src]

pub fn dup(fd: usize, buf: &[u8]) -> Result<usize, Error>

Copy and transform a file descriptor