diff options
Diffstat (limited to 'libc-top-half/musl/src/ctype/isgraph.c')
-rw-r--r-- | libc-top-half/musl/src/ctype/isgraph.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/ctype/isgraph.c b/libc-top-half/musl/src/ctype/isgraph.c new file mode 100644 index 0000000..292d198 --- /dev/null +++ b/libc-top-half/musl/src/ctype/isgraph.c @@ -0,0 +1,14 @@ +#include <ctype.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); |