projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4d8a103e612e27d2d394d767d9e20c13aea3435c
[musl]
/
isdigit.c
1
#include <ctype.h>
2
#include "libc.h"
3
#undef isdigit
4
5
int isdigit(int c)
6
{
7
return (unsigned)c-'0' < 10;
8
}
9
10
int __isdigit_l(int c, locale_t l)
11
{
12
return isdigit(c);
13
}
14
15
weak_alias(__isdigit_l, isdigit_l);