Allegro 5 api
#include <allegro5/allegro.h> int64_t al_fsize(ALLEGRO_FILE *f)
Return the size of the file, if it can be determined, or -1 otherwise.