al_remove_fs_entry

bool al_remove_fs_entry(ALLEGRO_FS_ENTRY *e)
Introduced in 5.0.0

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' errno.

See also: al_filename_exists


Most helpful discussions: