Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
ctype
/
iswxdigit.c
blob: 1e27f1f0f9d82dc1b70d6d65ec917358dedf839d [
file
] [
log
] [
blame
]
#include
<wctype.h>
#include
"libc.h"
int
iswxdigit
(
wint_t
wc
)
{
return
(
unsigned
)(
wc
-
'0'
)
<
10
||
(
unsigned
)((
wc
|
32
)-
'a'
)
<
6
;
}
int
__iswxdigit_l
(
wint_t
c
,
locale_t
l
)
{
return
iswxdigit
(
c
);
}
weak_alias
(
__iswxdigit_l
,
iswxdigit_l
);