Function ctru_sys::osGetKernelVersion
source · pub unsafe extern "C" fn osGetKernelVersion() -> u32_
Expand description
Gets the system’s kernel version.
§Returns
The system’s kernel version.
This can be used to compare system versions easily with SYSTEM_VERSION.
if(osGetKernelVersion() > SYSTEM_VERSION(2,46,0)) printf(“You are running 9.0 or higher