/* * i s a l p h a . c */ /*)LIBRARY */ #ifdef DOCUMENTATION title isalpha Test if a character is alphabetic index Test if a character is alphabetic synopsis isalpha(c) char c; description isalpha(c) returns 1 if c is an upper or lower case letter; otherwise, it returns 0. bugs author Jerry Leichter #endif /* * )EDITLEVEL=02 * Edit history * 0.0 13-May-81 JSL Invention * 0.1 21-May-81 JSL Conversion to new comment conventions */ #ifdef vms #include "c:chrtab.h" #else #include #endif isalpha(c) char c; { return((chrtab[c & 0177] & ALPHA) != 0); }