X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/48029e3062025c9d8bb2f2af9106aca2f91d565a..7ea1065532dc62464c0172076c8985aaec617e90:/emufs/fsc.c?ds=inline diff --git a/emufs/fsc.c b/emufs/fsc.c index 7520282..d0d9124 100644 --- a/emufs/fsc.c +++ b/emufs/fsc.c @@ -37,8 +37,8 @@ #include "fsc.h" #include "error.h" +#include "common.h" #include -#include #include /* Crea un archivo de Gaps o Espacio Libre en Bloque */ @@ -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); +} +