ALLEGRO_FILE_MODE(3alleg5)
π ALLEGRO_FILE_MODE π
okay so bestie, welcome to the Allegro 5 API manual β specifically the ALLEGRO_FILE_MODE page, and honestly? it's giving "short but iconic." no cap. let's get into it π¦
β¨ SYNOPSIS β¨
like, here's the literal way you summon it:
#include <allegro5/allegro.h>
typedef enum ALLEGRO_FILE_MODE
that's it. that's the whole vibe. a lil typedef enum sitting there with main character energy π
πΈ DESCRIPTION πΈ
so ALLEGRO_FILE_MODE is all about filesystem modes/types β like, the little labels that describe what a file is and what you're allowed to do with it. vibe check on your whole filesystem, basically. π
here's the full roster, no skips, all of them:
ALLEGRO_FILEMODE_READβ it's readable πALLEGRO_FILEMODE_WRITEβ it's writable βοΈALLEGRO_FILEMODE_EXECUTEβ it's executable, run it bestie πββοΈALLEGRO_FILEMODE_HIDDENβ it's hidden, sneaky lil thing πALLEGRO_FILEMODE_ISFILEβ it's a regular file πALLEGRO_FILEMODE_ISDIRβ it's a directory π
not me listing every single one because the one rule is we keep every detail. periodt. π
that's the whole page, fr fr β short, sweet, and exactly as advertised. π§
this lil love letter comes to you from the Allegro reference manual, living in the 3alleg5 era of things, and yeah β we're all obsessed. bye bestie, go read some files ππ
π¦ 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