pub fn dup_fd_cloexec(fd: RawFd) -> Result<RawFd>
Expand description

Duplicate a RawFd and set the CLOEXEC flag on the copy