al_fclose man page

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.

Referenced By

al_create_file_handle(3), al_fopen(3), al_fopen_fd(3), al_fopen_slice(3), al_open_memfile(3).

Allegro reference manual