consolidate *_l ctype/wctype functions into their non-_l source files
[musl] / src / ctype / isgraph.c
1 #include <ctype.h>
2 #include "libc.h"
3 #undef isgraph
4
5 int isgraph(int c)
6 {
7         return (unsigned)c-0x21 < 0x5e;
8 }
9
10 int __isgraph_l(int c, locale_t l)
11 {
12         return isgraph(c);
13 }
14
15 weak_alias(__isgraph_l, isgraph_l);