# 2.11BSD#431 - /usr/src/new/PORT/perl.1.0.16/x2p/handy.h

##### Macros

    Ctl               X
    FALSE             X
    Null              X
    Nullch            X
    Nullfp            X
    TRUE              X
    bool              X
    strEQ             X
    strGE             X
    strGT             X
    strLE             X
    strLT             X
    strNE             X
    strnEQ            X
    strnNE            X

       1: /* $Header: handy.h,v 1.0 87/12/18 13:07:15 root Exp $
       2:  *
       3:  * $Log:	handy.h,v $
       4:  * Revision 1.0  87/12/18  13:07:15  root
       5:  * Initial revision
       6:  *
       7:  */
       8:
       9: #define Null(type) ((type)0)
      10: #define Nullch Null(char*)
      11: #define Nullfp Null(FILE*)
      12:
      13: #define bool char
      14: #define TRUE (1)
      15: #define FALSE (0)
      16:
      17: #define Ctl(ch) (ch & 037)
      18:
      19: #define strNE(s1,s2) (strcmp(s1,s2))
      20: #define strEQ(s1,s2) (!strcmp(s1,s2))
      21: #define strLT(s1,s2) (strcmp(s1,s2) < 0)
      22: #define strLE(s1,s2) (strcmp(s1,s2) <= 0)
      23: #define strGT(s1,s2) (strcmp(s1,s2) > 0)
      24: #define strGE(s1,s2) (strcmp(s1,s2) >= 0)
      25: #define strnNE(s1,s2,l) (strncmp(s1,s2,l))
      26: #define strnEQ(s1,s2,l) (!strncmp(s1,s2,l))

#### Defined macros

Ctl defined in line 17; never used
FALSE defined in line 15; used 23 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 241-254(13)
- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.y line 46
- in /usr/src/new/PORT/perl.1.0.16/x2p/hash.c line 56, 89, 105, 128
- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 245
- in /usr/src/new/PORT/perl.1.0.16/x2p/walk.c line 23-24(2), 43, 1118

Null defined in line 9; used 4 times

- in line 10-11(2)
- in /usr/src/new/PORT/perl.1.0.16/x2p/hash.c line 197
- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 242

Nullch defined in line 10; used 11 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 257
- in /usr/src/new/PORT/perl.1.0.16/x2p/str.c line 174, 331, 338
- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 38, 64, 95, 120, 179, 186, 256

Nullfp defined in line 11; never used
TRUE defined in line 14; used 27 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 227, 248
- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.y line 66, 133-135(2), 168-170(2), 267-283(10)
- in /usr/src/new/PORT/perl.1.0.16/x2p/hash.c line 73, 126
- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 226
- in /usr/src/new/PORT/perl.1.0.16/x2p/walk.c line 59-61(2), 70, 100, 126, 850, 858

bool defined in line 13; used 19 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 241-254(14)
- in /usr/src/new/PORT/perl.1.0.16/x2p/hash.c line 43, 93
- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 226
- in /usr/src/new/PORT/perl.1.0.16/x2p/walk.c line 23-24(2)

strEQ defined in line 20; used 11 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/walk.c line 289-299(6), 333, 565-573(3), 826

strGE defined in line 24; never used
strGT defined in line 23; never used
strLE defined in line 22; never used
strLT defined in line 21; never used
strNE defined in line 19; used 3 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/hash.c line 36, 69, 118

strnEQ defined in line 26; used 2 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 271
- in /usr/src/new/PORT/perl.1.0.16/x2p/walk.c line 930

strnNE defined in line 25; never used

#### Usage of this include

handy.h used 5 times

- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 23
- in /usr/src/new/PORT/perl.1.0.16/x2p/hash.c line 11
- in /usr/src/new/PORT/perl.1.0.16/x2p/str.c line 9
- in /usr/src/new/PORT/perl.1.0.16/x2p/util.c line 11
- in /usr/src/new/PORT/perl.1.0.16/x2p/walk.c line 18

Last modified: 2002-12-19 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1038 |