Type Alias linux_syscall_api::SyscallResult
source · pub type SyscallResult = Result<isize, SyscallError>;
Expand description
The result of a syscall
-
Ok(x)
- The syscall is successful, and the return value isx
-
Err(error)
- The syscall failed, and the error is related tolinux_error
Aliased Type§
enum SyscallResult {
Ok(isize),
Err(LinuxError),
}