al_ferror

bool al_ferror(ALLEGRO_FILE *f)
Introduced in 5.0.0

Returns true if the error indicator is set on the given file, i.e. there was some sort of previous error.

See also: al_feof, al_fclearerr


Most helpful discussions: