int
isalnum(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isalnum(*s))
RETVAL = 0;
OUTPUT:
int
isalpha(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isalpha(*s))
RETVAL = 0;
OUTPUT:
int
iscntrl(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!iscntrl(*s))
RETVAL = 0;
OUTPUT:
int
isdigit(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isdigit(*s))
RETVAL = 0;
OUTPUT:
int
isgraph(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isgraph(*s))
RETVAL = 0;
OUTPUT:
int
islower(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!islower(*s))
RETVAL = 0;
OUTPUT:
int
isprint(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isprint(*s))
RETVAL = 0;
OUTPUT:
int
ispunct(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!ispunct(*s))
RETVAL = 0;
OUTPUT:
int
isspace(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isspace(*s))
RETVAL = 0;
OUTPUT:
int
isupper(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isupper(*s))
RETVAL = 0;
OUTPUT:
int
isxdigit(charstring)
- char * charstring
+ unsigned char * charstring
CODE:
- char *s;
- RETVAL = 1;
- for (s = charstring; *s && RETVAL; s++)
+ unsigned char *s = charstring;
+ unsigned char *e = s + na; /* "na" set by typemap side effect */
+ for (RETVAL = 1; RETVAL && s < e; s++)
if (!isxdigit(*s))
RETVAL = 0;
OUTPUT: