al_fsize man page

al_fsize — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

int64_t al_fsize(ALLEGRO_FILE *f)

Description

Return the size of the file, if it can be determined, or -1 otherwise.

Info

Allegro reference manual