Allegro 5 api
#include <allegro5/allegro.h> bool al_fs_entry_exists(ALLEGRO_FS_ENTRY *e)
Check if the given entry exists on in the filesystem. Returns true if it does exist or false if it doesn\[aq]t exist, or an error occurred. Error is indicated in Allegro\[aq]s errno.
al_filename_exists(3alleg5)