source: trunk/sys/dietlibc/isxdigit.c @ 95

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

First import

File size: 251 bytes
Line 
1int __isxdigit_ascii ( int ch );
2int __isxdigit_ascii ( int ch )
3{
4    return (unsigned int)( ch         - '0') < 10u  || 
5           (unsigned int)((ch | 0x20) - 'a') <  6u;
6}
7
8int isxdigit ( int ch ) __attribute__((weak,alias("__isxdigit_ascii")));
Note: See TracBrowser for help on using the repository browser.