X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/90781e95d22ac07ccc263ce5bbca7d7d878c96b1..e0b2f02fb7880eb26e4fc28e85253dc56b6c6aab:/emufs/tipo3_main.c diff --git a/emufs/tipo3_main.c b/emufs/tipo3_main.c index bdf5787..cdde077 100644 --- a/emufs/tipo3_main.c +++ b/emufs/tipo3_main.c @@ -1,7 +1,42 @@ +/* vim: set noexpandtab tabstop=4 shiftwidth=4: + *---------------------------------------------------------------------------- + * emufs + *---------------------------------------------------------------------------- + * This file is part of emufs. + * + * emufs is free software; you can redistribute it and/or modify it under the + * terms of the GNU General Public License as published by the Free Software + * Foundation; either version 2 of the License, or (at your option) any later + * version. + * + * emufs is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along + * with emufs; if not, write to the Free Software Foundation, Inc., 59 Temple + * Place, Suite 330, Boston, MA 02111-1307 USA + *---------------------------------------------------------------------------- + * Creado: mié mar 31 17:26:46 ART 2004 + * Autores: Nicolás Dimov + *---------------------------------------------------------------------------- + * + * $Id$ + * + */ + +/** \file + * + * Prueba de archivo \ref tipo3.h "tipo3". + * + */ + #include #include #include "emufs.h" + int main(int argc, char *argv[]) { EMUFS *fp; @@ -54,8 +89,11 @@ int main(int argc, char *argv[]) printf("ID6 = %d\n", n7); - fp->borrar_registro(fp, n4, 100); + /*fp->borrar_registro(fp, n4, 100); + fp->borrar_registro(fp, n2, 100); + fp->borrar_registro(fp, n6, 100);*/ n8 = fp->grabar_registro(fp, i, 100); + printf("Grabe Ok\n"); fp->leer_registro(fp, n8, b, 100); printf("Recuperado : %s\n", b);