pub(in backend) unsafe fn try_decode_error<Num: RetNumber>(
raw: RetReg<Num>,
) -> Errno
Expand description
Check for an error from the result of a syscall which does not return on
success. On success, return the unconsumed raw
value.
§Safety
This must only be used with syscalls which do not return on success.