6 main (int argc, char *argv[])
14 n = strtol (argv[1], &p, 0);
15 if ((p == argv[1]) || *p) {
16 fprintf (stderr, "The \"%s\" string is not a number\n", argv[1]);
20 printf ("Input number: ");
24 res = fiboseries (&series, n);
26 fprintf (stderr, "fiboseries() failed for %d with code %d\n", n, res);
30 /* Incorrect use of the function without prototype!!! */
31 fiboprint (series, n);
33 printf ("fibocalls=%d\n", fibocalls);