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