Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->isdigit()

Summary

#include <ctype.h>

int isdigit(int c);    Test for digit ('0'-'9')


Parameter

c    Integer to be tested


Description

This function tests the integer passed to it to see if it is a decimal digit character: '0'-'9'.

The ASCII character set is assumed.


Return Value

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