Function rustix::backend::conv::ret_c_int_infallible
source · pub(super) unsafe fn ret_c_int_infallible(raw: RetReg<R0>) -> c_int
Expand description
Convert a c_int
returned from a syscall that effectively always
returns a c_int
.
§Safety
This function must only be used with return values from infallible syscalls.