8
extern int factorial(int);
10
DBUG_PROCESS (argv[0]);
11
for (ix = 1; ix < argc && argv[ix][0] == '-'; ix++) {
12
switch (argv[ix][1]) {
14
DBUG_PUSH (&(argv[ix][2]));
18
for (; ix < argc; ix++) {
19
DBUG_PRINT ("args", ("argv[%d] = %s", ix, argv[ix]));
20
result = factorial (atoi(argv[ix]));
21
printf ("%d\n", result);