4 int main(int argc, char *argv[])
8 unsigned long int len, i, k, total;
14 fp = fopen(argv[1], "r");
16 } else if (argc == 2) {
17 fp = stdin; /*fopen(argv[1], "r");*/
24 data = malloc(sizeof(char)*len);
25 salida = malloc(sizeof(char)*(len+1));
34 while ((!feof(fp)) && (i < len)) {
39 bs_solve(data, salida, bs, &k, i);
41 /* XXX ACA SALIDA DEBERIA PASAR A LA SIGUIENTE ETAPA XXX */
43 printf("%s -> %ld\n", salida, k);
50 printf("Total bytes : %ld\n", total);