+
+ /* Imprimo la lista de bloques/registros */
+ strcpy(name_f_block_free,emu->nombre);
+ strcat(name_f_block_free,".fsc");
+ {
+ BLOCK_REG_T r;
+ f_block_free = fopen(name_f_block_free, "r");
+ fread(&r, sizeof(BLOCK_REG_T), 1, f_block_free);
+ while (!feof(f_block_free)) {
+ printf("ID %ld en bloque %d\n", r.id_reg, r.block);
+ fread(&r, sizeof(BLOCK_REG_T), 1, f_block_free);
+ }
+ fclose(f_block_free);
+ }
+
+