fclose(f_fsc);
return cant;
}
+
+int emufs_fsc_truncate(EMUFS* efs, EMUFS_BLOCK_ID blocks)
+{
+ char name_f_fsc[255];
+
+ strcpy(name_f_fsc, efs->nombre);
+ strcat(name_f_fsc, EMUFS_FSC_EXT);
+ return truncate(name_f_fsc, blocks * sizeof(EMUFS_FSC));
+}