Allegro 5 api
#include <allegro5/allegro.h> bool al_remove_fs_entry(ALLEGRO_FS_ENTRY *e)
Delete this filesystem entry from the filesystem. Only files and empty directories may be deleted.
Returns true on success, and false on failure, error is indicated in Allegro\[aq]s errno.
al_filename_exists(3alleg5)