pub unsafe fn raw_syscall1_readonly(sysno: Sysno, arg0: usize) -> usize
Expand description

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

Returns a raw usize, doesn’t not check for errors.

Safety

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