# 2.11BSD#431 - /usr/src/ucb/tn3270/ectype.h

##### Macros

    E_DIGIT           X
    E_LOWER           X
    E_PRINT           X
    E_PUNCT           X
    E_SPACE           X
    E_UPPER           X
    Eisalnum          X
    Eisalpha          X
    Eisdigit          X
    Eislower          X
    Eisprint          X
    Eispunct          X
    Eisspace          X
    Eisupper          X

       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

- in line 15-16(2)
- in /usr/src/ucb/tn3270/ectype.c line 262-271(10)

E_LOWER defined in line 6; used 29 times

- in line 12-16(3)
- in /usr/src/ucb/tn3270/ectype.c line 144-152(9), 161-169(9), 179-186(8)

E_PRINT defined in line 10; used 95 times

- in line 19
- in /usr/src/ucb/tn3270/ectype.c line 85-92(7), 102-110(8), 119-124(6), 135-152(16), 161-169(9), 178-186(9), 211-220(10), 228-237(10), 245-254(9), 262-271(10)

E_PUNCT defined in line 9; used 33 times

- in line 18
- in /usr/src/ucb/tn3270/ectype.c line 85-92(7), 102-110(8), 119-124(6), 135-141(7), 178, 211, 228, 245

E_SPACE defined in line 8; used 3 times

- in line 17
- in /usr/src/ucb/tn3270/ectype.c line 7, 75

E_UPPER defined in line 5; used 29 times

- in line 12-16(3)
- in /usr/src/ucb/tn3270/ectype.c line 212-220(9), 229-237(9), 247-254(8)

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

- in /usr/src/ucb/tn3270/keyboard.c line 219, 227, 421, 540, 547, 794, 803, 814, 823, 837, 846

Eisupper defined in line 13; never used

#### Usage of this include

ectype.h used 2 times

- in /usr/src/ucb/tn3270/ectype.c line 3
- in /usr/src/ucb/tn3270/keyboard.c line 30

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 703 |