Wiki Page Content

Revision 3 as of 2013-08-07 21:01:33

Clear message

SDL_GetPlatform

Use this function to get the name of the platform.

Syntax

const char* SDL_GetPlatform (void)

Return Value

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

Code Examples

You can add your code example here

Remarks

Here are the names returned for some supported platforms:

  • Windows
  • Mac OS X
  • Linux
  • iOS
  • Android


CategoryAPI, CategoryPlatform

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit