Skip to main content

syscall3

Function syscall3 

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

执行 3 参数裸系统调用。

§Safety

调用此函数必须保证参数符合目标调用约定,指针参数有效。

§Feature Requirement

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