KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches

Current run-time version of KOS More...

Functions

kos_version_t kos_version (void)
 Returns the current KOS version ID at run-time.
 
const char * kos_version_string (void)
 Returns the string representation of the current KOS version at run-time.
 

Detailed Description

Current run-time version of KOS

These functions provide information about the current version of KOS at run-time (ie the version you have linked against).

Function Documentation

◆ kos_version()

kos_version_t kos_version ( void )

Returns the current KOS version ID at run-time.

This function is used to fetch the current KOS version ID at run-time, meaning it will return the version of KOS you have linked to, rather than the one you were necessarily compiling against.

Returns
KOS's current version identifier

◆ kos_version_string()

const char * kos_version_string ( void )

Returns the string representation of the current KOS version at run-time.

This function fetches the current run-time version of KOS as a string.

Note
The string is a NULL-terminated character array in the format: major.minor.patch.
Returns
KOS's current version as a printable string.