Skip to content

get_platform

Version:

Dink HD, YeOldeDink

Prototypeint get_platform(void)

get_platform returns the type of system OS Dink is currently running with a single integer.

See below for possible return values:

  • -1 (Platform unknown)
  • 0 Windows
  • 1 iOS (iPhone/iPad/iPhone4)
  • 2 Mac/OSX
  • 3 Linux
  • 4 Android
  • 5 Windows Mobile
  • 6 WebOS