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

Last change on this file since 63 was 1, checked in by alain, 7 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.