ALLEGRO_FO...TRY_RESULT(3)

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

🌸 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