Skip to main content

syscall6

Function syscall6 

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

执行 6 参数裸系统调用。

§Safety

调用此函数必须保证参数符合目标调用约定;x86 下会手动保存 ebp,Windows x64 下扩展栈。

§Feature Requirement

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