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