Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa
/
.
/
src
/
ctype
/
iswdigit.c
blob: ed9a88e740ad38a7bf60bed9d52ebbc23161c978 [
file
] [
log
] [
blame
]
#include
<wctype.h>
#include
"libc.h"
#undef
iswdigit
int
iswdigit
(
wint_t
wc
)
{
return
(
unsigned
)
wc
-
'0'
<
10
;
}
int
__iswdigit_l
(
wint_t
c
,
locale_t
l
)
{
return
iswdigit
(
c
);
}
weak_alias
(
__iswdigit_l
,
iswdigit_l
);