36 return b ?
"yes" :
"no";
56 printf(
"chr#%-4d%2c%6s%6s%6s%6s%6s%6s%6s%6s%6s%6s%6s%4c%4c\n",
c, cp,
flag(isalnum(
c)),
flag(isalpha(
c)),
flag(iscntrl(
c)),
flag(isdigit(
c)),
flag(islower(
c)),
flag(isgraph(
c)),
flag(isprint(
c)),
flag(ispunct(
c)),
flag(isspace(
c)),
flag(isupper(
c)),
flag(isxdigit(
c)), lo, up);
67 fprintf(stderr,
"Successfully set locale to \"%s\"\n", cur_locale);
70 fprintf(stderr,
"Cannot setup locale. Either your libc does not provide\nlocale support, or your locale data is corrupt, or you have not set\nLANG or LC_CTYPE environment variable to proper value. Program aborted.\n");
74 printf(
"char# char alnum alpha cntrl digit lower graph print punct space upper xdigit lo up\n");
75 for (
c = 0;
c <= 255;
c++)
#define fprintf(file, fmt, msg)
void describe_char(int c)