delete_file(3) Allegro manual delete_file(3)NAMEdelete_file - Removes a file from the disk. Allegro game programming
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.
Allegro version 4.4.2 delete_file(3)