ALLEGRO_FO...TRY_RESULT(3)
πΈ NAME πΈ
okay bestie, welcome to ALLEGRO_FO...TRY_RESULT(3) from the Library Functions Manual β the main character here is ALLEGRO_FOR_EACH_FS_ENTRY_RESULT, aka the Allegro 5 API enum that tells al_for_each_fs_entry(3) what to do next π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
typedef enum ALLEGRO_FOR_EACH_FS_ENTRY_RESULT {
π DESCRIPTION π
These are the return values for the callbacks of al_for_each_fs_entry(3) β and for that function itself, too. Basically the little vibe check your callback sends back π«Ά
ALLEGRO_FOR_EACH_FS_ENTRY_ERRORβ an error ocurred. Something went wrong, bestie πALLEGRO_FOR_EACH_FS_ENTRY_OKβ continue normally and recurse into directories. Keep it moving and go deeper into the folders, slay πALLEGRO_FOR_EACH_FS_ENTRY_SKIPβ continue but do NOT recusively descend. The loop keeps going, but no going down into subdirectories, periodt πALLEGRO_FOR_EACH_FS_ENTRY_STOPβ stop iterating and return. That's the hard stop, no cap π
π¦ SEE ALSO π¦
al_for_each_fs_entry(3) β go read that one next, bestie, iykyk π
β SINCE β
5.1.9 β iconic since then, periodt β¨
mwah π β from the Allegro reference manual, page ALLEGRO_FO...TRY_RESULT(3), and there's no date printed on this footer, so we're just vibing π
π¦ 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