GME  13
Defines
ctype functions

Defines

#define apr_isalnum(c)   (isalnum(((unsigned char)(c))))
#define apr_isalpha(c)   (isalpha(((unsigned char)(c))))
#define apr_iscntrl(c)   (iscntrl(((unsigned char)(c))))
#define apr_isdigit(c)   (isdigit(((unsigned char)(c))))
#define apr_isgraph(c)   (isgraph(((unsigned char)(c))))
#define apr_islower(c)   (islower(((unsigned char)(c))))
#define apr_isascii(c)   (((c) & ~0x7f)==0)
#define apr_isprint(c)   (isprint(((unsigned char)(c))))
#define apr_ispunct(c)   (ispunct(((unsigned char)(c))))
#define apr_isspace(c)   (isspace(((unsigned char)(c))))
#define apr_isupper(c)   (isupper(((unsigned char)(c))))
#define apr_isxdigit(c)   (isxdigit(((unsigned char)(c))))
#define apr_tolower(c)   (tolower(((unsigned char)(c))))
#define apr_toupper(c)   (toupper(((unsigned char)(c))))

Detailed Description

These macros allow correct support of 8-bit characters on systems which support 8-bit characters. Pretty dumb how the cast is required, but that's legacy libc for ya. These new macros do not support EOF like the standard macros do. Tough.


Define Documentation

#define apr_isalnum (   c)    (isalnum(((unsigned char)(c))))
See also:
isalnum

Definition at line 203 of file apr_lib.h.

#define apr_isalpha (   c)    (isalpha(((unsigned char)(c))))
See also:
isalpha

Definition at line 205 of file apr_lib.h.

#define apr_isascii (   c)    (((c) & ~0x7f)==0)
See also:
isascii

Definition at line 218 of file apr_lib.h.

#define apr_iscntrl (   c)    (iscntrl(((unsigned char)(c))))
See also:
iscntrl

Definition at line 207 of file apr_lib.h.

#define apr_isdigit (   c)    (isdigit(((unsigned char)(c))))
See also:
isdigit

Definition at line 209 of file apr_lib.h.

#define apr_isgraph (   c)    (isgraph(((unsigned char)(c))))
See also:
isgraph

Definition at line 211 of file apr_lib.h.

#define apr_islower (   c)    (islower(((unsigned char)(c))))
See also:
islower

Definition at line 213 of file apr_lib.h.

#define apr_isprint (   c)    (isprint(((unsigned char)(c))))
See also:
isprint

Definition at line 221 of file apr_lib.h.

#define apr_ispunct (   c)    (ispunct(((unsigned char)(c))))
See also:
ispunct

Definition at line 223 of file apr_lib.h.

#define apr_isspace (   c)    (isspace(((unsigned char)(c))))
See also:
isspace

Definition at line 225 of file apr_lib.h.

#define apr_isupper (   c)    (isupper(((unsigned char)(c))))
See also:
isupper

Definition at line 227 of file apr_lib.h.

#define apr_isxdigit (   c)    (isxdigit(((unsigned char)(c))))
See also:
isxdigit

Definition at line 229 of file apr_lib.h.

#define apr_tolower (   c)    (tolower(((unsigned char)(c))))
See also:
tolower

Definition at line 231 of file apr_lib.h.

#define apr_toupper (   c)    (toupper(((unsigned char)(c))))
See also:
toupper

Definition at line 233 of file apr_lib.h.