X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/abb8a32d66ddd4cb1a885ee23fe9cd4d7d9a4c9f..2ef63227431ca5dc261ef1b3186d0a30d5742f25:/tipo3/main.c diff --git a/tipo3/main.c b/tipo3/main.c index 5359aca..4858f37 100644 --- a/tipo3/main.c +++ b/tipo3/main.c @@ -1,9 +1,16 @@ #include - +#include +#include "emufs.h" int main() { - printf("TODAVIA NO HAGO NADA, PERO CUANDO HAGA ALGO... AGARRATE!!!\n"); + 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; }