al_fs_entry_exists(3alleg5)

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

πŸ’– NAME πŸ’–

ok so bestie, this is the manual for al_fs_entry_exists β€” it's part of the Allegro 5 API ✨ and yes it's giving "does this file even exist" energy, which honestly? iconic.


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

bool al_fs_entry_exists(ALLEGRO_FS_ENTRY *e)

like. that's the whole vibe. one function, one bool, zero drama 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so what this does is check if the given entry actually exists in the filesystem πŸ‘‘ simple as that, no cap.

  • It returns true if it does exist 🫢
  • It returns false if it doesn't exist, or if an error happened 😭
and bestie, if an error did happen, the error is indicated in Allegro's errno β€” so check that if you're getting a false and you're like "wait why tho" πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€


k bye bestie, mwah πŸ’‹ β€” this was the Allegro reference manual's page for al_fs_entry_exists(3alleg5), dropping from the <3alleg5> manual, served fresh and slay as always πŸŒˆβ­πŸŽ€

πŸ“¦ where this page comes from