diff options
Diffstat (limited to 'lib/libc/ctype/isgraph.c')
| -rw-r--r-- | lib/libc/ctype/isgraph.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/ctype/isgraph.c b/lib/libc/ctype/isgraph.c new file mode 100644 index 00000000..03919200 --- /dev/null +++ b/lib/libc/ctype/isgraph.c @@ -0,0 +1,8 @@ +#include <libc.h> + +int isgraph(int c) +{ + return (unsigned)c - 0x21 < 0x5e; +} + +weak_reference(isgraph, isgraph_l); |
