MicrOS
isalpha.c File Reference
#include "../ctype.h"

Functions

int isalpha (int c)
 Check if value is letter. More...
 

Function Documentation

◆ isalpha()

int isalpha ( int  c)

Check if value is letter.

The isalpha function tests for any character for which isupper or islower is true, or any character that is one of a locale-specific set of alphabetic characters for which none of iscntrl, isdigit, ispunct, or isspace is true. In the "C" locale, isalpha returns true only for the characters for which isupper or islower is true.

Parameters
cValue to check.
Returns
1 if true, 0 if false