Scroll to navigation

al_fclose(3) al_fclose(3)

NAME

al_fclose - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro.h>
bool al_fclose(ALLEGRO_FILE *f)
    

DESCRIPTION

Close the given file, writing any buffered output data (if any).

Returns true on success, false on failure. errno is set to indicate the error.

Allegro reference manual