delete_file man page
delete_file — Removes a file from the disk. Allegro game programming library.
int delete_file(const char *filename);
Removes a file from the disk. You can't delete directories, though.
Returns zero on success, non-zero on failure.
version 4.4.2 Allegro manual