Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
ctype
/
iswpunct.c
blob: 65b70bc6eb9b818b6a3e0d64e1ec4f351099ab01 [
file
] [
log
] [
blame
]
#include
<wctype.h>
static
const
unsigned
char
table
[]
=
{
#include
"punct.h"
};
int
iswpunct
(
wint_t
wc
)
{
if
(
wc
<
0x20000U
)
return
(
table
[
table
[
wc
>>
8
]
*
32
+
((
wc
&
255
)
>>
3
)]
>>
(
wc
&
7
))
&
1
;
return
0
;
}