source: trunk/sys/dietlibc/iswxdigit.c @ 46

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

First import

File size: 270 bytes
RevLine 
[1]1#include <wctype.h>
2
3int __iswxdigit_ascii(wint_t c);
4int __iswxdigit_ascii(wint_t c)
5{
6    return (unsigned int)( c         - '0') < 10u  ||
7           (unsigned int)((c | 0x20) - 'a') <  6u;
8}
9
10int iswxdigit(wint_t c) __attribute__((weak,alias("__iswxdigit_ascii")));
Note: See TracBrowser for help on using the repository browser.