macro_rules! syscall {
($nr:expr) => { ... };
($nr:expr, $a1:expr) => { ... };
($nr:expr, $a1:expr, $a2:expr) => { ... };
($nr:expr, $a1:expr, $a2:expr, $a3:expr) => { ... };
($nr:expr, $a1:expr, $a2:expr, $a3:expr, $a4:expr) => { ... };
($nr:expr, $a1:expr, $a2:expr, $a3:expr, $a4:expr, $a5:expr) => { ... };
($nr:expr, $a1:expr, $a2:expr, $a3:expr, $a4:expr, $a5:expr, $a6:expr) => { ... };
}Expand description
Performs a syscall and returns a Result<SyscallWord, Errno>.
Accepts a syscall number and a variable number of arguments (0 to 6).