Usermode/libc,libposix - Fixing errors in headers
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / include_exp / ctype.h
index ddb0a61..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;

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