Rev 6433 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6433 | Rev 7172 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | #ifndef _CTYPE_H |
|
- | 2 | #define _CTYPE_H |
|
1 | /* |
3 | /* |
2 | ** All character classification functions except isascii(). |
4 | ** All character classification functions except isascii(). |
3 | ** Integer argument (c) must be in ASCII range (0-127) for |
5 | ** Integer argument (c) must be in ASCII range (0-127) for |
4 | ** dependable answers. |
6 | ** dependable answers. |
5 | */ |
7 | */ |
Line 33... | Line 35... | ||
33 | #define isascii(c) (!((c)&(~0x7f))) |
35 | #define isascii(c) (!((c)&(~0x7f))) |
34 | #define toascii(c) ((c)&0x7f) |
36 | #define toascii(c) ((c)&0x7f) |
Line 35... | Line 37... | ||
35 | 37 | ||
36 | extern unsigned char tolower(unsigned char c); |
38 | extern unsigned char tolower(unsigned char c); |
- | 39 | extern unsigned char toupper(unsigned char c); |
|
- | 40 | ||
37 | extern unsigned char toupper(unsigned char c); |
41 | #endif |