Function scall::decode_raw_result
source · [−]Expand description
“Decode” a result from syscall_raw!
.
This returns Ok(retval)
for “success” results, and Err(errno)
for “error” results.
It can also be used to decode the results of the syscallX()
functions, like syscall0()
.