pub unsafe fn syscall0_readonly(sysno: Sysno) -> Result<usize, Errno>
Expand description

Make a raw system call with 0 arguments. Like the non _readonly version but you declare that syscall does not mutate any memory.

Returns a Result<usize, Errno>.

Safety

A system call is unsafe by definition. It’s the caller’s responsibility to ensure safety.