Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

al_fclearerr - Allegro 5 API

Description

       Clear the error indicator for the given file.

       The standard I/O backend also clears the end-of-file indicator, and other backends should try to do this.
       However,  they  may not if it would require too much effort (e.g. PhysicsFS backend), so your code should
       not rely on it if you need your code to be portable to other backends.

Name

       al_fclearerr - Allegro 5 API

See Also

al_ferror(3alleg5), al_feof(3alleg5)

Allegro reference manual                                                                   al_fclearerr(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              void al_fclearerr(ALLEGRO_FILE *f)

See Also