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:
shatty 2003-08-16 07:13:55 +00:00
parent d5b07cf2d9
commit b394ba7f2a
1 changed files with 32 additions and 0 deletions

32
headers/posix/ctype.h Normal file
View File

@ -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