SDL_GetPlatform

Get the name of the platform.

Here are the names returned for some (but not all) supported platforms: - "Windows" - "macOS" - "Linux" - "iOS" - "Android"

extern (C) nothrow @nogc extern
const(char)*
SDL_GetPlatform
()

Return Value

Type: const(char)*

The name of the platform. If the correct platform name is not available, returns a string beginning with the text "Unknown".

Meta