Skip to main content

dup2

Function dup2 

Source
pub fn dup2(
    fd: BorrowedFd<'_>,
    fd2: OwnedFd,
    inheritable: bool,
) -> Result<OwnedFd>