al_android_get_os_version(3alleg5)
β¨ NAME β¨
al_android_get_os_version β it's giving Allegro 5 API, bestie π
π SYNOPSIS π
#include <allegro5/allegro_android.h>
const char *al_android_get_os_version(void)
π¦ DESCRIPTION π¦
okay so. You call this little icon, and it hands you back a pointer to a static buffer β like, one buffer, shared, not yours to free, don't be weird about it β and inside that buffer is the version string of the Android platform that your Allegro program is currently running on. π«Ά
That's it. That's the whole vibe. It's the "what Android am I on rn" function and it ate. β¨
πΈ SINCE πΈ
5.1.2 β lowkey vintage, highkey still iconic π
al_android_get_os_version(3alleg5) β straight out of the Allegro reference manual, no cap. That's the tea, bestie, go forth and check your OS version responsibly πππ¦πΈ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms