diff options
Diffstat (limited to 'libc-top-half/musl/src/ctype/isxdigit.c')
-rw-r--r-- | libc-top-half/musl/src/ctype/isxdigit.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/ctype/isxdigit.c b/libc-top-half/musl/src/ctype/isxdigit.c new file mode 100644 index 0000000..aab1a74 --- /dev/null +++ b/libc-top-half/musl/src/ctype/isxdigit.c @@ -0,0 +1,13 @@ +#include <ctype.h> + +int isxdigit(int c) +{ + return isdigit(c) || ((unsigned)c|32)-'a' < 6; +} + +int __isxdigit_l(int c, locale_t l) +{ + return isxdigit(c); +} + +weak_alias(__isxdigit_l, isxdigit_l); |