Skip to main content

sys_proc_exit

Function sys_proc_exit 

Source
fn sys_proc_exit(exit_code: u64) -> Result<u64, SyscallError>
Expand description

SYS_PROC_EXIT (300): Exit the current task.

Marks the task as Dead and yields. This function never returns to the caller.