al_filename_exists(3) al_filename_exists(3)

al_filename_exists - Allegro 5 API

#include <allegro5/allegro.h>
bool al_filename_exists(const char *path)

Check if the path exists on the filesystem, without creating an ALLEGRO_FS_ENTRY(3) object explicitly.

al_fs_entry_exists(3)

Allegro reference manual