*----------------------------------------------------------------------------
* Creado: jue abr 8 18:07:57 ART 2004
* Autores: Nicolás Dimov <sagardua@uolsinectis.com.ar>
*----------------------------------------------------------------------------
* Creado: jue abr 8 18:07:57 ART 2004
* Autores: Nicolás Dimov <sagardua@uolsinectis.com.ar>
if ( (f_did = fopen(name_f_did,"r")) == NULL) return -1; /*ERROR*/
fseek(f_did, 0, SEEK_END);
if ( (f_did = fopen(name_f_did,"r")) == NULL) return -1; /*ERROR*/
fseek(f_did, 0, SEEK_END);
if ( (f_did = fopen(name_f_did,"a+")) == NULL) return -1;
fwrite(&ID, sizeof(int), 1, f_did);
if ( (f_did = fopen(name_f_did,"a+")) == NULL) return -1;
fwrite(&ID, sizeof(int), 1, f_did);