Sign in
fuchsia
/
fuchsia
/
refs/heads/main
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
ctype
/
iswpunct.c
blob: 74ea2ffc4cf6f9225f59c2b02c9673e8baee6ce4 [
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
;
}