Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
0f9b1f672b68b7c3570f07b130cc5c8938b22bad
/
.
/
src
/
ctype
/
iswpunct.c
blob: 16e8703b55cdcbd5b252f77f93baf8fa0331ff8b [
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
;
}