Function validate_raw_fd

Source
pub fn validate_raw_fd(raw_fd: RawFd) -> Result<RawFd>
Expand description

Verifies that |raw_fd| is actually owned by this process and duplicates it to ensure that we have a unique handle to it.