Function base::sys::linux::validate_raw_descriptor
source · pub fn validate_raw_descriptor(
raw_descriptor: RawDescriptor
) -> Result<RawDescriptor>
Expand description
Verifies that |raw_descriptor| is actually owned by this process and duplicates it to ensure that we have a unique handle to it.