strcat(name_f_idx,".idx");
if ( (f_idx = fopen(name_f_idx,"r")) == NULL) return -1; /*ERROR*/
+ id = -1;
while ( !feof(f_idx) ){
/* Me aseguro de leer la cantidad de bytes correcta */
if (fread(®,sizeof(BLOCK_REG_T),1,f_idx) != 1) continue;
return id;
}
+