syscall::call

Function dup

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

Copy and transform a file descriptor