X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/90861bfac7b0cbb20976b6ddab832bcb6a210f8c..2e29fc7e9a20173cb2e58bb93a72bca5e57a912d:/src/mtf/main.c diff --git a/src/mtf/main.c b/src/mtf/main.c index c240f73..a6f9bda 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]; - int *pos; + char *z, *dato; + char *pos; int len; - int i; + int i, size, z_len; + len = fread(buff, 1, BUFFER_SIZE, stdin); buff[len] = '\0'; + pos = jacu_mtf(buff, len, &z, &z_len); + for(i=0; i