ALLEGRO_SYSTEM_ID(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’… ALLEGRO_SYSTEM_ID πŸ’…

okay so bestie, welcome to the Library Functions Manual β€” this is the page all about ALLEGRO_SYSTEM_ID, straight out of the Allegro 5 API ✨


🌸 NAME 🌸

ALLEGRO_SYSTEM_ID β€” Allegro 5 API, but make it a whole enum of vibes πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro.h>

enum ALLEGRO_SYSTEM_ID {

yes bestie that's literally it, the enum opens and the manpage just leaves you hanging like a cliffhanger episode 😭 the members are listed below tho, don't worry 🫢


✨ DESCRIPTION ✨

So. ALLEGRO_SYSTEM_ID is like, the system Allegro is running on. That's the whole personality. It's giving "what platform are we on rn" energy πŸ‘‘

Here's the full roster, no cap, every single one:

  • ALLEGRO_SYSTEM_ID_UNKNOWN β€” Unknown system. it's giving mystery, we literally don't know her πŸ’€
  • ALLEGRO_SYSTEM_ID_XGLX β€” Xglx 🌈
  • ALLEGRO_SYSTEM_ID_WINDOWS β€” Windows πŸͺŸ
  • ALLEGRO_SYSTEM_ID_MACOSX β€” macOS 🍎
  • ALLEGRO_SYSTEM_ID_ANDROID β€” Android πŸ€–
  • ALLEGRO_SYSTEM_ID_IPHONE β€” iOS πŸ“± (yes the constant says IPHONE, the description says iOS, that's just how she is, iconic)
  • ALLEGRO_SYSTEM_ID_GP2XWIZ β€” GP2XWIZ 🧚 lowkey a deep cut, love that for us
  • ALLEGRO_SYSTEM_ID_RASPBERRYPI β€” Raspberry Pi πŸ“
  • ALLEGRO_SYSTEM_ID_SDL β€” SDL πŸŽ€

like, one enum, nine platforms, main character energy across the board ✨


⭐ SINCE ⭐

5.2.5 β€” so it's been around a minute, periodt πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

  • al_get_system_id(3) β€” the function that actually hands you one of these, go read it next bestie 🫢

and that's the page!! tysm for reading, mwah πŸ’–

fr fr don't forget: this is the Allegro reference manual, and it's ALLEGRO_SYSTEM_ID all the way down β€” catch you in the next manpage, bestie πŸŒΈπŸ¦‹πŸ’œ
πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms