syscall4

Function syscall4 

Source
#[unsafe(link_section = ".text")]
pub fn syscall4(n: usize, a1: usize, a2: usize, a3: usize, a4: usize) -> isize
Expand description

Performs a raw system call with 4 arguments.

§Safety

Same as syscall1.

§Examples

use azathoth_utils::platform::linux::syscalls::syscall4;

let fd = unsafe { syscall4(17, 1, 0, 0, 0) }; // Example syscall