1: /*	@(#)ectype.h	1.2	*/
   2: 
   3: extern char ectype[];       /* 256 byte array */
   4: 
   5: #define E_UPPER 0x01
   6: #define E_LOWER 0x02
   7: #define E_DIGIT 0x04
   8: #define E_SPACE 0x08
   9: #define E_PUNCT 0x10
  10: #define E_PRINT 0x20
  11: 
  12: #define Eisalpha(c) (ectype[(c)&0xff]&(E_UPPER|E_LOWER))
  13: #define Eisupper(c) (ectype[(c)&0xff]&E_UPPER)
  14: #define Eislower(c) (ectype[(c)&0xff]&E_LOWER)
  15: #define Eisdigit(c) (ectype[(c)&0xff]&E_DIGIT)
  16: #define Eisalnum(c) (ectype[(c)&0xff]&(E_UPPER|E_LOWER|E_DIGIT))
  17: #define Eisspace(c) (ectype[(c)&0xff]&E_SPACE)  /* blank or null */
  18: #define Eispunct(c) (ectype[(c)&0xff]&E_PUNCT)
  19: #define Eisprint(c) (ectype[(c)&0xff]&E_PRINT)

Defined macros

E_DIGIT defined in line 7; used 12 times
E_LOWER defined in line 6; used 29 times
E_PRINT defined in line 10; used 95 times
E_PUNCT defined in line 9; used 33 times
E_SPACE defined in line 8; used 3 times
E_UPPER defined in line 5; used 29 times
Eisalnum defined in line 16; never used
Eisalpha defined in line 12; never used
Eisdigit defined in line 15; never used
Eislower defined in line 14; never used
Eisprint defined in line 19; never used
Eispunct defined in line 18; never used
Eisspace defined in line 17; used 11 times
Eisupper defined in line 13; never used

Usage of this include

Last modified: 1987-02-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2105
Valid CSS Valid XHTML 1.0 Strict