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