source:
EcnlProtoTool/trunk/musl-1.1.18/src/ctype/iswcntrl.c
Last change on this file was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 299 bytes |
Line | |
---|---|
1 | #include <wctype.h> |
2 | #include "libc.h" |
3 | |
4 | int iswcntrl(wint_t wc) |
5 | { |
6 | return (unsigned)wc < 32 |
7 | || (unsigned)(wc-0x7f) < 33 |
8 | || (unsigned)(wc-0x2028) < 2 |
9 | || (unsigned)(wc-0xfff9) < 3; |
10 | } |
11 | |
12 | int __iswcntrl_l(wint_t c, locale_t l) |
13 | { |
14 | return iswcntrl(c); |
15 | } |
16 | |
17 | weak_alias(__iswcntrl_l, iswcntrl_l); |
Note:
See TracBrowser
for help on using the repository browser.