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
iconv: fix missing bounds checking for shift_jis decoding
[musl.git]
/
src
/
ctype
/
iswdigit.c
blob
db817edf7dd73544da17be7ba77e9da0eeb68ea4
1
#include <wctype.h>
2
3
#undef iswdigit
4
5
int
iswdigit
(
wint_t
wc
)
6
{
7
return
(
unsigned
)
wc
-
'0'
<
10
;
8
}
9
10
int
__iswdigit_l
(
wint_t
c
,
locale_t l
)
11
{
12
return
iswdigit
(
c
);
13
}
14
15
weak_alias
(
__iswdigit_l
,
iswdigit_l
);