Go to the source code of this file.
Defines | |
| #define | _U 0x01 |
| #define | _L 0x02 |
| #define | _N 0x04 |
| #define | _S 0x08 |
| #define | _P 0x10 |
| #define | _C 0x20 |
| #define | _X 0x40 |
| #define | _B 0x80 |
| #define | isdigit(c) ((int)((_ctype_ + 1)[(int)(c)] & _N)) |
| #define | islower(c) ((int)((_ctype_ + 1)[(int)(c)] & _L)) |
| #define | isspace(c) ((int)((_ctype_ + 1)[(int)(c)] & _S)) |
| #define | ispunct(c) ((int)((_ctype_ + 1)[(int)(c)] & _P)) |
| #define | isupper(c) ((int)((_ctype_ + 1)[(int)(c)] & _U)) |
| #define | isalpha(c) ((int)((_ctype_ + 1)[(int)(c)] & (_U|_L))) |
| #define | isxdigit(c) ((int)((_ctype_ + 1)[(int)(c)] & (_N|_X))) |
| #define | isalnum(c) ((int)((_ctype_ + 1)[(int)(c)] & (_U|_L|_N))) |
| #define | isprint(c) ((int)((_ctype_ + 1)[(int)(c)] & (_P|_U|_L|_N|_B))) |
| #define | isgraph(c) ((int)((_ctype_ + 1)[(int)(c)] & (_P|_U|_L|_N))) |
| #define | iscntrl(c) ((int)((_ctype_ + 1)[(int)(c)] & _C)) |
| #define | tolower(c) ((int)((_tolower_tab_ + 1)[(int)(c)])) |
| #define | toupper(c) ((int)((_toupper_tab_ + 1)[(int)(c)])) |
| #define | isascii(c) ((unsigned)(c) <= 0177) |
| #define | toascii(c) ((c) & 0177) |
| #define | _tolower(c) ((c) - 'A' + 'a') |
| #define | _toupper(c) ((c) - 'a' + 'A') |
| #define | _CTYPE_NUM_CHARS (1 << CHAR_BIT) |
Variables | |
| const unsigned char * | _ctype_ |
| const short * | _tolower_tab_ |
| const short * | _toupper_tab_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6