al_fsize

int64_t al_fsize(ALLEGRO_FILE *f)
Introduced in 5.0.0

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


Most helpful discussions: