33 lines
520 B
C
33 lines
520 B
C
|
#ifndef _CTYPE_H
|
||
|
#define _CTYPE_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
int isalnum(int);
|
||
|
int isalpha(int);
|
||
|
int isascii(int);
|
||
|
int isblank(int);
|
||
|
int iscntrl(int);
|
||
|
int isdigit(int);
|
||
|
int isgraph(int);
|
||
|
int islower(int);
|
||
|
int isprint(int);
|
||
|
int ispunct(int);
|
||
|
int isspace(int);
|
||
|
int isupper(int);
|
||
|
int isxdigit(int);
|
||
|
int toascii(int);
|
||
|
int tolower(int);
|
||
|
int toupper(int);
|
||
|
|
||
|
#define _toupper(ch) ((int) (((int)ch) - 'a' + 'A'))
|
||
|
#define _tolower(ch) ((int) (((int)ch) - 'A' + 'a'))
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif // _CTYPE_H
|