C in a Nutshell (In a Nutshell (OReilly))
Ascertains whether a given character is a letter of the alphabet #include <ctype.h> int isalpha ( int c );
The function isalpha( ) tests whether its character argument is a letter of the alphabet. If the character is alphabetic, isalpha( ) returns a nonzero value (that is, TRue); if not, the function returns 0 (false).
In all locales, the isalpha( ) classification is mutually exclusive with iscntrl( ), isdigit( ), ispunct( ), and isspace( ). Example
See the example for isprint( ) in this chapter. See Also
The corresponding C99 function for wide characters, iswalpha( ); isalnum( ), isblank( ), iscntrl( ), isdigit( ), isgraph( ), islower( ), isprint( ), ispunct( ), isspace( ), isupper( ), isxdigit( ), setlocale( ) |