clone_file

Function clone_file 

Source
pub fn clone_file(fd: RawFd) -> Result<File>
Expand description

Duplicate a file object by libc::dup().