devela::all

Function linux_sys_exit

Source
pub unsafe fn linux_sys_exit(status: c_int) -> !
Available on crate features unsafe_syscall and linux only.
Expand description

Performs an exit syscall.

Terminate the process with an exit status.

§Info

§Example

use devela::linux_sys_exit;

unsafe { linux_sys_exit(0) };

§Safety

TODO