projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove hand-written crt1.s and Scrt1.s files for all archs
[musl]
/
src
/
ctype
/
iswcntrl.c
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);