Function ctru_sys::threadExit

source ·
pub unsafe extern "C" fn threadExit(rc: c_int) -> !
Expand description

Exits the current libctru thread with an exit code (not usable from the main thread).

§Arguments

  • rc - Exit code