![]() |
isdigit | Function (Macro) |
ctype.h |
short isdigit (short c); |
Checks whether a character is a digit.
isdigit returns nonzero if c is a digit ('0' to '9'), otherwise it returns zero. It is a small inline function which is implemented using GNU C smart macros.