Sign in
mojo
/
mojo-tools
/
ad00c8ee4181b58d6df219cf3c839839221499a9
/
.
/
fusl
/
src
/
ctype
/
isdigit.c
blob: 88cea1045fe2e94dab15eb8c87a62f1284e4adf1 [
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
);