Cleaning up files
[tpg/acess2.git] / Usermode / include / ctype.h
1 /*
2  */
3 #ifndef _CTYPE_H_
4 #define _CTYPE_H_
5
6 static inline int isalpha(char ch) {
7         if('A'<=ch&&ch<='Z')    return 1;
8         if('a'<=ch&&ch<='z')    return 1;
9         return 0;
10 }
11 static inline int isdigit(char ch) {
12         if('0'<=ch&&ch<='9')    return 1;
13         return 0;
14 }
15
16 #endif

UCC git Repository :: git.ucc.asn.au