X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/381a5f98d66c8a3847d9918077a351b4813558fd..7a1f4e670b7f52961de1c6c0b868aa836cceae04:/emufs/fsc.c?ds=sidebyside diff --git a/emufs/fsc.c b/emufs/fsc.c index 2d2932b..d0d9124 100644 --- a/emufs/fsc.c +++ b/emufs/fsc.c @@ -567,3 +567,12 @@ EMUFS_BLOCK_ID emufs_fsc_get_num_blocks(EMUFS* efs) fclose(f_fsc); return cant; } + +long emufs_fsc_get_file_size(EMUFS* efs, int* err) +{ + char name[255]; + strcpy(name, efs->nombre); + strcat(name, EMUFS_FSC_EXT); + return emufs_common_get_file_size(name, err); +} +