source:
azure_iot_hub/trunk/musl-1.1.18/src/ctype/isdigit.c
Last change on this file was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 203 bytes |
Line | |
---|---|
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); |
Note:
See TracBrowser
for help on using the repository browser.