| isalnum | letters (A to Z or a to z) or digits (0 to 9) |
| isalpha | letters (A to Z or a to z) |
| iscntrl | delete characters or ordinary control characters (0x7F or 0x00 to 0x1F) |
| isdigit | digits (0 to 9) |
| isgraph | printing characters (except space) |
| islower | lowercase letters (a to z) |
| isprint | printing characters (0x20 to 0x7E) |
| ispunct | punctuation characters (iscntrl or isspace) |
| isspace | space, tab, carriage return, new line, vertical tab, or formfeed (0x09 to 0x0D, 0x20) |
| isupper | uppercase letters (A to Z) |
| isxdigit | hex digits (0 to 9, A to F, a to f) |
Example
char c = 'A';
if (isxdigit(c))
printf("%c is hex\n", c);
else
printf("%c is not hex\n", c);
| Index | Copyright © 2005 CadSoft Computer GmbH |