Function rustix::backend::io::syscalls::dup

source ยท
pub(crate) fn dup(fd: BorrowedFd<'_>) -> Result<OwnedFd>