Function rustix::backend::io::errno::try_decode_c_int

source ยท
pub(in backend) fn try_decode_c_int<Num: RetNumber>(
    raw: RetReg<Num>,
) -> Result<c_int>
Expand description

Check for an error from the result of a syscall which encodes a c::c_int on success.