new posix/beos compatible version in public posix/ctype.h, also added isblank prototype
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4284 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
#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
|
||||||
Reference in New Issue
Block a user