]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs/fsc.c
Algunos detalles de coding style y pruebas de stats.
[z.facultad/75.06/emufs.git] / emufs / fsc.c
index 2d2932b332a3595546c8fbd70381731e0281b242..d0d912420e816a12781aeec9b01104a70722cb83 100644 (file)
@@ -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);
+}
+