al_fclearerr(3)

al_fclearerr3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_fclearerr(ALLEGRO_FILE *f)

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.