source: trunk/sys/dietlibc/isdigit.c @ 270

Last change on this file since 270 was 1, checked in by alain, 8 years ago

First import

File size: 202 bytes
Line 
1#include <ctype.h>
2
3int __isdigit_ascii ( int ch );
4int __isdigit_ascii ( int ch ) {
5    return (unsigned int)(ch - '0') < 10u;
6}
7
8int isdigit ( int ch ) __attribute__((weak,alias("__isdigit_ascii")));
Note: See TracBrowser for help on using the repository browser.