diff options
Diffstat (limited to 'src/ctype/iscntrl.c')
-rw-r--r-- | src/ctype/iscntrl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ctype/iscntrl.c b/src/ctype/iscntrl.c index 92ed7f0e..cb4114a0 100644 --- a/src/ctype/iscntrl.c +++ b/src/ctype/iscntrl.c @@ -1,6 +1,14 @@ #include <ctype.h> +#include "libc.h" int iscntrl(int c) { return (unsigned)c < 0x20 || c == 0x7f; } + +int __iscntrl_l(int c, locale_t l) +{ + return iscntrl(c); +} + +weak_alias(__iscntrl_l, iscntrl_l); |