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 - scanf() and many other cleanups
[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
4c5613b
..
ddb0a61
100644
(file)
--- a/
Usermode/Libraries/libc.so_src/include_exp/ctype.h
+++ b/
Usermode/Libraries/libc.so_src/include_exp/ctype.h
@@
-35,5
+35,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