X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/90861bfac7b0cbb20976b6ddab832bcb6a210f8c..d69c7c58de649932f607cbfb6e7f44a1364078f5:/src/mtf/main.c?ds=sidebyside diff --git a/src/mtf/main.c b/src/mtf/main.c index c240f73..3f6f174 100644 --- a/src/mtf/main.c +++ b/src/mtf/main.c @@ -8,19 +8,26 @@ int main(int argc, char *argv[] ) { char buff[BUFFER_SIZE]; + char *z, *dato; int *pos; int len; - int i; + int i, size; + len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; - pos = jacu_mtf(buff, len); + for(i=0; i