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

al_fflush - Allegro 5 API

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

Flush any pending writes to the given file.

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

al_get_errno(3alleg5)

Allegro reference manual