repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update case mappings to unicode 12.1.0
[musl.git]
/
src
/
ctype
/
iswxdigit.c
blob
62bc9e743953bfc532ca42ef96e5ab9431b4c3c1
1
#include <wctype.h>
2
3
int
iswxdigit
(
wint_t
wc
)
4
{
5
return
(
unsigned
)(
wc
-
'0'
) <
10
|| (
unsigned
)((
wc
|
32
)-
'a'
) <
6
;
6
}
7
8
int
__iswxdigit_l
(
wint_t
c
,
locale_t l
)
9
{
10
return
iswxdigit
(
c
);
11
}
12
13
weak_alias
(
__iswxdigit_l
,
iswxdigit_l
);