DOKK / manpages / debian 11 / allegro5-doc / al_fclose.3alleg5.en
al_fclose(3alleg5) al_fclose(3alleg5)

al_fclose - Allegro 5 API

#include <allegro5/allegro.h>
bool al_fclose(ALLEGRO_FILE *f)
    

Close the given file, writing any buffered output data (if any).

Returns true on success, false on failure. errno is set to indicate the error.

Allegro reference manual