1: #include "../h/ctype.h"
   2: /*
   3:  * The array is used to establish a "type" for a character.  The
   4:  *  codes in use are:
   5:  *    C - control character
   6:  *    H - hexadecimal digit
   7:  *    L - lower case alphabetic
   8:  *    N - decimal digit
   9:  *    P - punctuation
  10:  *    S - whitespace
  11:  *    U - upper case alphabetic
  12:  *
  13:  * Note that logical or'ing is used to associate more than one attribute
  14:  *  with a character.
  15:  */
  16: char ctype[] = {
  17:     _C, _C, _C, _C, _C, _C, _C, _C,
  18:     _C, _S, _S, _S, _S, _S, _C, _C,
  19:     _C, _C, _C, _C, _C, _C, _C, _C,
  20:     _C, _C, _C, _C, _C, _C, _C, _C,
  21:     _S, _P, _P, _P, _P, _P, _P, _P,
  22:     _P, _P, _P, _P, _P, _P, _P, _P,
  23:     _N, _N, _N, _N, _N, _N, _N, _N,
  24:     _N, _N, _P, _P, _P, _P, _P, _P,
  25:     _P, _U|_X,  _U|_X,  _U|_X,  _U|_X,  _U|_X,  _U|_X,  _U,
  26:     _U, _U, _U, _U, _U, _U, _U, _U,
  27:     _U, _U, _U, _U, _U, _U, _U, _U,
  28:     _U, _U, _U, _P, _P, _P, _P, _P,
  29:     _P, _L|_X,  _L|_X,  _L|_X,  _L|_X,  _L|_X,  _L|_X,  _L,
  30:     _L, _L, _L, _L, _L, _L, _L, _L,
  31:     _L, _L, _L, _L, _L, _L, _L, _L,
  32:     _L, _L, _L, _P, _P, _P, _P, _C,
  33:     0,  0,  0,  0,  0,  0,  0,  0,
  34:     0,  0,  0,  0,  0,  0,  0,  0,
  35:     0,  0,  0,  0,  0,  0,  0,  0,
  36:     0,  0,  0,  0,  0,  0,  0,  0,
  37:     0,  0,  0,  0,  0,  0,  0,  0,
  38:     0,  0,  0,  0,  0,  0,  0,  0,
  39:     0,  0,  0,  0,  0,  0,  0,  0,
  40:     0,  0,  0,  0,  0,  0,  0,  0,
  41:     0,  0,  0,  0,  0,  0,  0,  0,
  42:     0,  0,  0,  0,  0,  0,  0,  0,
  43:     0,  0,  0,  0,  0,  0,  0,  0,
  44:     0,  0,  0,  0,  0,  0,  0,  0,
  45:     0,  0,  0,  0,  0,  0,  0,  0,
  46:     0,  0,  0,  0,  0,  0,  0,  0,
  47:     0,  0,  0,  0,  0,  0,  0,  0,
  48:     0,  0,  0,  0,  0,  0,  0,  0
  49:    };

Defined variables

ctype defined in line 16; never used
Last modified: 1984-11-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 582
Valid CSS Valid XHTML 1.0 Strict