git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Usermode/libc - Added ENOTTY to errno
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libc.so_src
/
include_exp
/
ctype.h
diff --git
a/Usermode/Libraries/libc.so_src/include_exp/ctype.h
b/Usermode/Libraries/libc.so_src/include_exp/ctype.h
index
ddb0a61
..
0d437e9
100644
(file)
--- a/
Usermode/Libraries/libc.so_src/include_exp/ctype.h
+++ b/
Usermode/Libraries/libc.so_src/include_exp/ctype.h
@@
-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