Skip to main content

syscall5

Function syscall5 

Source
pub unsafe fn syscall5(
    n: usize,
    a1: usize,
    a2: usize,
    a3: usize,
    a4: usize,
    a5: usize,
) -> isize
Available on crate features sys-syscall and sys only.
Expand description

执行 5 参数裸系统调用。

§Safety

调用此函数必须保证参数符合目标调用约定;Windows x64 下会临时扩展栈 0x30 字节。

§Feature Requirement

需要启用 "sys-syscall" 特性。