Function syscall1

Source
pub unsafe fn syscall1(nr: usize, arg0: usize) -> Retval
Expand description

Invoke System Call With 1 Argument

This invokes the system call with the specified system-call-number. The provided argument is passed to the system call unmodified.

ยงSafety

  • System calls can have arbitrary side-effects. It is the responsibility of the caller to consider all effects of a system call and take required precautions.