Usermode/libc - Added EAFNOSUPPORT
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / ctype.h
index 4c5613b..0d437e9 100644 (file)
@@ -27,6 +27,11 @@ static inline int toupper(int ch) {
                return ch - 'a' + 'A';
        return ch;
 }
+static inline int tolower(int ch) {
+       if('A'<=ch && ch <='Z')
+               return ch - 'A' + 'a';
+       return ch;
+}
 
 static inline int isspace(int ch) {
        if(ch == ' ')   return 1;
@@ -35,5 +40,11 @@ static inline int isspace(int ch) {
        if(ch == '\n')  return 1;
        return 0;
 }
+// C99
+static inline int isblank(int ch) {
+       if(ch == ' ')   return 1;
+       if(ch == '\t')  return 1;
+       return 0;
+}
 
 #endif

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