Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



CTYPE(3C)                DOMAIN/IX SYS5                 CTYPE(3C)



NAME
     isalpha, isupper, islower, isdigit, isalnum, isspace,
     ispunct, isprint, iscntrl, isascii - character classifica-
     tion macros

USAGE
     #include <ctype.h>

     isalpha(c)

     .
     .
     .

     isascii(c)


DESCRIPTION
     These macros classify ASCII-coded integer values by table
     lookup.  Each is a predicate that returns zero for false,
     and non-zero for true.  Isascii is defined on all integer
     values; the rest are defined only where isascii is true and
     on the single non-ASCII value EOF (see stdio(3S)).

     isalpha   c is a letter

     isupper   c is an uppercase letter

     islower   c is a lowercase letter

     isdigit   c is a digit

     isalnum   c is an alphanumeric character

     isspace   c is a space, tab, carriage return, newline, or
               formfeed

     ispunct   c is a punctuation character (neither control nor
               alphanumeric)

     isprint   c is a printing character, code 040(8) (space)
               through 0176 (tilde)

     iscntrl   c is a delete character (0177) or ordinary control
               character (less than 040).








Printed 12/4/86                                           CTYPE-1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026