al_ferror - Man Page

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.

See Also

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

Referenced By

al_fclearerr(3), al_feof(3), al_ferrmsg(3), al_fread(3), al_fread16be(3), al_fread16le(3), al_fread32be(3), al_fread32le(3).

Allegro reference manual