Skip to main content

SYS_PROC_EXIT

Constant SYS_PROC_EXIT 

Source
pub const SYS_PROC_EXIT: usize = 300; // 300usize
Expand description

Terminate the current process with an exit code.

  • exit_code: process exit status

This syscall never returns. All threads in the process are terminated.