X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibc.so_src%2Finclude_exp%2Fctype.h;h=ddb0a614d351c2141274fff27462f83ced299f27;hb=c3914bc3bbe97ef474e044558674f57f6af85e0a;hp=4c5613b6ed9b24fd908b4d14f0c165c01fff69c8;hpb=4bd23d4ae51bd5cb92b449bcd66e0d2de88c7fc9;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libc.so_src/include_exp/ctype.h b/Usermode/Libraries/libc.so_src/include_exp/ctype.h index 4c5613b6..ddb0a614 100644 --- 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