diff options
Diffstat (limited to '05/musl-0.6.0/src/ctype/iscntrl.c')
-rw-r--r-- | 05/musl-0.6.0/src/ctype/iscntrl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/05/musl-0.6.0/src/ctype/iscntrl.c b/05/musl-0.6.0/src/ctype/iscntrl.c new file mode 100644 index 0000000..92ed7f0 --- /dev/null +++ b/05/musl-0.6.0/src/ctype/iscntrl.c @@ -0,0 +1,6 @@ +#include <ctype.h> + +int iscntrl(int c) +{ + return (unsigned)c < 0x20 || c == 0x7f; +} |