Allegro 5 api
#include <allegro5/allegro.h> off_t al_get_fs_entry_size(ALLEGRO_FS_ENTRY *e)
Returns the size, in bytes, of the given entry. May not return anything sensible for a directory entry.
al_update_fs_entry(3alleg5)