Function ctru_sys::threadGetCurrent

source ·
pub unsafe extern "C" fn threadGetCurrent() -> Thread
Expand description

Retrieves the libctru thread handle of the current thread.

§Returns

libctru thread handle of the current thread, or NULL for the main thread