isalpha

Tests for an alphabetic character (a to z or A to Z).

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <ctype.h>    
   
  int isalpha (
     int   c);
  

Parameters

c

(IN) Specifies the character to be tested.

Return Values

Returns nonzero if the argument is an alphabetic character. Otherwise, returns 0.

Remarks

An alphabetic character is any character for which isupper or islower is true.

See Also