Allegro 5 api
#include <allegro5/allegro.h> void al_fclose(ALLEGRO_FILE *f)
Close the given file, writing any buffered output data (if any).