iconv: fix missing bounds checking for shift_jis decoding
[musl.git] / src / ctype / isgraph.c
blob292d1983ec5b717e66e2db62afacb078a267fbbf
1 #include <ctype.h>
2 #undef isgraph
4 int isgraph(int c)
6 return (unsigned)c-0x21 < 0x5e;
9 int __isgraph_l(int c, locale_t l)
11 return isgraph(c);
14 weak_alias(__isgraph_l, isgraph_l);