Function syscall5
Source #[unsafe(link_section = ".text")]
pub fn syscall5(
n: usize,
a1: usize,
a2: usize,
a3: usize,
a4: usize,
a5: usize,
) -> isize
Expand description
Performs a raw system call with 5 arguments.
§Safety
Same as syscall1.
§Examples
use azathoth_utils::platform::linux::syscalls::syscall5;
let fd = unsafe { syscall5(5, 0, 0, 0, 0, 0) };