Crossware

Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->isxdigit()

Summary

#include <ctype.h>

    
int isxdigit(int c);Test for hexadecimal digit ('A'-'F', 'a'-'f' or '0'-'9')

Parameter

c    Integer to be tested


Description

This function tests the integer passed to it to see if it is a hexadecimal digit character: 'A'-'F', 'a'-'f' or '0'-'9'.

The ASCII character set is assumed.


Return Value

TRUE (1) is returned if the character is a hexadecimal digit, otherwise FALSE (0) is returned.