diff options
Diffstat (limited to 'src/ctype/isgraph.c')
-rw-r--r-- | src/ctype/isgraph.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ctype/isgraph.c b/src/ctype/isgraph.c index 98979d1e..a0aae08a 100644 --- a/src/ctype/isgraph.c +++ b/src/ctype/isgraph.c @@ -1,4 +1,15 @@ +#include <ctype.h> +#include "libc.h" +#undef isgraph + int isgraph(int c) { return (unsigned)c-0x21 < 0x5e; } + +int __isgraph_l(int c, locale_t l) +{ + return isgraph(c); +} + +weak_alias(__isgraph_l, isgraph_l); |