}
};
-/******************************************************************/
static int atob(str)
/* ASCII-to-binary conversion */
char *str;
return(val);
}
-/*********************************************************/
void
showHelp(FILE *out, char *progname)
{
exit(0);
}
-/*********************************************************/
-void
-process_options(int argc, char *argv[], char * opt_string)
+static void process_options(int argc, char *argv[], char * opt_string)
{
int op;
}/*while*/
}
-/******************************************************************/
static char *btoa(unsigned int val)
/* binary-to-ASCII conversion */
{
return(rp);
}
-/******************************************************************/
static void speak(unsigned int ch)
/* list all the names for a given character */
{
return;
}
-if (isprint((int)ch))
+ if (isprint((int)ch))
(void) printf("prints as `%s'\n", *ptr++);
else if (iscntrl((char)ch) || ch == 0x7F)
{
(void) putchar('\n');
}
-/******************************************************************/
static int stricmp(char *s, char *t)
/* case-blind string compare */
{
return(*t - *s);
}
-/******************************************************************/
static void ascii(char *str)
{
int ch, hi, lo;
} /* outer if */
}
-/******************************************************************/
-void
-print_table(unsigned short delivery)
+void print_table(unsigned short delivery)
{
static unsigned short i, j, len;
char separator[]= " ";
}
-/*----------------------------------------- M A I N --------------*/
int main(int argc, char **argv)
{
char *optstring="tshvxod" ;
ascii(argv[optind++]);
exit(0);
}
+
/******************************************************************/
/* ascii.c ends here */