Function rustix::backend::conv::ret_error

source ·
pub(super) unsafe fn ret_error(raw: RetReg<R0>) -> Errno
Expand description

Convert a usize returned from a syscall that doesn’t return on success.

§Safety

The caller must ensure that this is the return value of a syscall which doesn’t return on success.