Provided by: libsdl3-doc_3.2.8+ds-1_all 

NAME
SDL_GetPlatform - Get the name of the platform.
HEADER FILE
Defined in SDL3/SDL_platform.h
SYNOPSIS
#include "SDL3/SDL.h"
const char * SDL_GetPlatform(void);
DESCRIPTION
Here are the names returned for some (but not all) supported platforms:
• "Windows"
• "macOS"
• "Linux"
• "iOS"
• "Android"
RETURN VALUE
Returns the name of the platform. If the correct platform name is not available, returns a string
beginning with the text "Unknown".
AVAILABILITY
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.8 SDL_GetPlatform(3)