ALLEGRO_FILE_MODE(3)

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

✨ 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 bestie
  • ALLEGRO_FILEMODE_WRITE β€” Writable ✍️ you can write to it
  • ALLEGRO_FILEMODE_EXECUTE β€” Executable πŸ”₯ you can run it, main character energy
  • ALLEGRO_FILEMODE_HIDDEN β€” Hidden πŸ™ˆ it's being shy
  • ALLEGRO_FILEMODE_ISFILE β€” Regular file πŸ“„ just a normal file, nothing fancy
  • ALLEGRO_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