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

al_ferror - Allegro 5 API

#include <allegro5/allegro.h>
int al_ferror(ALLEGRO_FILE *f)
    

Returns non-zero if the error indicator is set on the given file, i.e. there was some sort of previous error. The error code may be system or file interface specific.

al_feof(3alleg5), al_fclearerr(3alleg5), al_ferrmsg(3alleg5)

Allegro reference manual