al_fflush

bool al_fflush(ALLEGRO_FILE *f)
Introduced in 5.0.0

Flush any pending writes to the given file.

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

See also: al_get_errno


Most helpful discussions: