Function raw_syscall_base::syscall_nr[][src]

pub unsafe fn syscall_nr(rax: usize, a: &[usize]) -> !

Performs a system call which never returns.

The first argument specifies the system call, and the second is a slice of arguments to pass it.

This should only be used for calls like exit or exit_group which are guaranteed to never return.