#include <stdio.h>
-typedef struct block_reg_t{
- int block;
- int reg;
-}block_reg_t;
-int main ( )
+#include <string.h>
+#include "emufs.h"
+
+int main()
{
- struct block_reg_t r;
-
- printf("sizeof(struct block_reg_t) = %d\n", sizeof(struct block_reg_t));
- printf("sizeof(r) = %d\n", sizeof(r));
+ EMUFS *fp;
+ char a[] = "1234567890";
+
+ fp = emufs_crear("articulos", T3, 512, 100);
+
+ printf("ID = %d\n", fp->grabar_registro(fp, a, strlen(a)+1));
+ emufs_destruir(fp);
return 0;
}