pub(super) unsafe fn ret_owned_fd(raw: RetReg<R0>) -> Result<OwnedFd>Expand description
Convert a usize returned from a syscall that effectively returns an
OwnedFd on success.
ยงSafety
The caller must ensure that this is the return value of a syscall which returns an owned file descriptor.