Function nstd_proc_exit
Source #[unsafe(no_mangle)]
pub extern "C" fn nstd_proc_exit(exit_code: NSTDInt32) -> !
Available on crate feature proc only.
Expand description
Terminates the process with the given exit_code.
§Parameters:
NSTDInt32 exit_code - The process exit code.
§Example
use nstd_sys::proc::nstd_proc_exit;
unsafe { nstd_proc_exit(0) };