Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2013-08-11 11:59:46
Size: 677
Comment: Removed space.
Revision 5 as of 2013-10-27 22:22:18
Size: 650
Comment: Removed empty section, see SGFunctions page.
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
== Related Functions ==

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

None: SDL_GetPlatform (last edited 2013-10-27 22:22:18 by PhilippWiesemann)

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