ALLEGRO_FILE_MODE(3)
β¨ ALLEGRO_FILE_MODE(3) β¨
okay so bestie, welcome to the <allegro5/allegro.h> era of the Allegro 5 API manual π
this one's short and sweet and honestly kind of iconic β it's all about filesystem modes and types, and it lives in the Library Functions Manual. iykyk π
π SYNOPSIS π
#include <allegro5/allegro.h>
typedef enum ALLEGRO_FILE_MODE
like, that's literally it. a whole enum, no cap β¨
π¦ DESCRIPTION π¦
so this enum is your little vibe check for the filesystem β it's got the modes and the types, all bundled up together. lowkey convenient fr fr π
here's the whole squad, no skips, no cuts:
ALLEGRO_FILEMODE_READβ Readable π like yes you can read it bestieALLEGRO_FILEMODE_WRITEβ Writable βοΈ you can write to itALLEGRO_FILEMODE_EXECUTEβ Executable π₯ you can run it, main character energyALLEGRO_FILEMODE_HIDDENβ Hidden π it's being shyALLEGRO_FILEMODE_ISFILEβ Regular file π just a normal file, nothing fancyALLEGRO_FILEMODE_ISDIRβ Directory ποΈ it's a folder, a little container of things
ngl, that's the whole page π six enum values, all present and accounted for, all slaying in their own way. nothing extra, nothing missing β ate and left no crumbs π
π and that's a wrap, bestie! π this little gem is from the Allegro reference manual, dated and versioned like the classic it is β the footer says ALLEGRO_FILE_MODE(3) with the source/version and date info, and honestly? iconic. mwah π«Άβ¨πΈ
π¦ 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