September 1998
Intermediate to advanced
848 pages
20h 13m
English
These functions take int arguments, which should be able to be represented as either unsigned char values or as EOF; the effect of supplying other values is undefined. In Table F.2, "true" is used as shorthand for "a non-zero value." Interpretation of some definitions depends on the current locale setting, which is controlled by the functions of locale.h.
| Prototype | Description |
|---|---|
| int isalnum(int c); | Returns true if c is alphanumeric (alphabetic or numeric). |
| int isalpha(int c); | Returns true if c is alphabetic. |
| int iscntrl(int c); | Returns true if c is a control character, such as Ctrl+B. |
| int isdigit(int c); | Returns true if c is a digit. |
| int isgraph(int c); | Returns true if c is any printing character ... |
Read now
Unlock full access