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
apply hidden visibility to stdio internals
[musl.git]
/
src
/
ctype
/
iswdigit.c
blob
ed9a88e740ad38a7bf60bed9d52ebbc23161c978
1
#include <wctype.h>
2
#include
"libc.h"
3
4
#undef iswdigit
5
6
int
iswdigit
(
wint_t
wc
)
7
{
8
return
(
unsigned
)
wc
-
'0'
<
10
;
9
}
10
11
int
__iswdigit_l
(
wint_t
c
,
locale_t l
)
12
{
13
return
iswdigit
(
c
);
14
}
15
16
weak_alias
(
__iswdigit_l
,
iswdigit_l
);