/// Terminate current process.
///
/// # Examples
///
/// ```
/// unsafe { nc::exit(0); }
/// ```
pub unsafe fn exit(status: i32) -> ! {
    let status = status as usize;
    unsafe {
        let _ret = syscall1(SYS_EXIT, status);
        core::hint::unreachable_unchecked();
    }
}
