Function rustix::backend::conv::ret

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

Convert a usize returned from a syscall that effectively returns () on success.

§Safety

The caller must ensure that this is the return value of a syscall which just returns 0 on success.