ALLEGRO_FILE_MODE(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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