source:
trunk/sys/dietlibc/isdigit.c
@
275
| Last change on this file since 275 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 202 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 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.
