source:
trunk/sys/dietlibc/isdigit.c
@
184
Last change on this file since 184 was 1, checked in by , 8 years ago | |
---|---|
File size: 202 bytes |
Line | |
---|---|
1 | #include <ctype.h> |
2 | |
3 | int __isdigit_ascii ( int ch ); |
4 | int __isdigit_ascii ( int ch ) { |
5 | return (unsigned int)(ch - '0') < 10u; |
6 | } |
7 | |
8 | int isdigit ( int ch ) __attribute__((weak,alias("__isdigit_ascii"))); |
Note: See TracBrowser
for help on using the repository browser.