Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
isxdigit - test for hexadecimal digit
&pagelevel(4)&pagelevel
Syntax | #include <ctype.h> int isxdigit(int c); |
Description isxdigit
tests whether the character c is a hexadecimal digit character (0-9, A-F or a-f).
| In all cases, the argument c is an int, the value of which must be representable as an unsigned char or must equal the value of the macro EOF . If the argument c has any other value, the behavior is undefined. |
Return val. | != 0 0 | Hexadecimal digit Not a hexadecimal digit |
Notes | isxdigit() is implemented both as a function and as a macro. To generate a function call, the definition of the macro name must be first undefined (#undef isxdigit ). The behavior of isxdigit() is determined by the class xdigit of the current locale. The current locale is the C locale, unless it was explicitly changed using setlocale() . |
See also | isalnum() , isalpha() , iscntrl() , isdigit() , isgraph() , islower() , isprint() ,
ispunct(), isspace(), isupper(), ctype.h. |