Skip to main content

syscall1_noreturn

Function syscall1_noreturn 

Source
pub unsafe fn syscall1_noreturn(sysno: Sysno, arg0: usize) -> !
Available on ((32-bit and ARM, or 32-bit and little-endian and x86, or 64-bit and AArch64, or 64-bit and little-endian and x86-64) and (Android or Linux), or Linux and (32-bit and big-endian and PowerPC, or 32-bit and little-endian and RISC-V RV32, or 32-bit and little-endian and x86-64, or 32-bit and MIPS, or 64-bit and big-endian and s390x, or 64-bit and little-endian and LoongArch64, or 64-bit and little-endian and RISC-V RV64, or 64-bit and MIPS-64, or 64-bit and PowerPC64)) and non-outline_syscalls only.
Expand description

Make a raw system call with 7 arguments. It’s assured that it will not return.

§Safety

A system call is unsafe by definition. It’s the caller’s responsibility to ensure safety.