Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
isxdigit.c
Go to the documentation of this file.
1
// Pulled from musl libc, locale support removed
2
3
#include <
ctype.h
>
4
5
int
isxdigit
(
int
c)
6
{
7
return
isdigit
(c) || ((unsigned)c | 32) -
'a'
< 6;
8
}
ctype.h
isxdigit
int isxdigit(int c)
Checks if the given character is a hexadecimal numeric character.
Definition:
isxdigit.c:5
isdigit
int isdigit(int ch)
Checks if the given character is a numeric character.
Definition:
isdigit.c:5
src
ctype
isxdigit.c
Generated by
1.8.15