al_get_fs_entry_mode(3alleg5)
π NAME π
al_get_fs_entry_mode β the Allegro 5 API glow-up where you ask a filesystem entry what it is and what it's allowed to do π¦
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
uint32_t al_get_fs_entry_mode(ALLEGRO_FS_ENTRY *e)
π DESCRIPTION π
okay bestie so you hand this function an ALLEGRO_FS_ENTRY and it hands you back that entry's mode flags. and what's in those flags, you ask? two whole things, no cap:
- the entry's permissions π
- whether the entry is pointing at a file or at a directory ποΈ
that's it, that's the whole vibe check. it literally just tells you what kind of thing you're looking at and what it's allowed to do. iconic behaviour, honestly.
πΈ SEE ALSO πΈ
and that's the tea, bestie π
this lil page lives in the Allegro reference manual, filed under al_get_fs_entry_mode(3alleg5) β go forth and check your modes, fr fr π«Άβ¨
π¦ 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