Function wayland_commons::wire::dup_fd_cloexec
source · pub fn dup_fd_cloexec(fd: RawFd) -> Result<RawFd>
Expand description
Duplicate a RawFd
and set the CLOEXEC flag on the copy
pub fn dup_fd_cloexec(fd: RawFd) -> Result<RawFd>
Duplicate a RawFd
and set the CLOEXEC flag on the copy