# 2.11BSD#431 - /usr/src/usr.bin/refer/refer0.c

##### Variables

    Ifile             X
    Iline             X
    authrev           X
    bare              X
    biblio            X
    convert           X
    endpush           X
    gfile             X
    hidenam           X
    keystr            X
    keywant           X
    labels            X
    nmlen             X
    ofile             X
    postpunct         X
    rdata             X
    refnum            X
    reftable          X
    reftext           X
    rtp               X
    science           X
    search            X
    sep               X
    smallcaps         X
    sort              X
    tfile             X

       1: #ifndef lint
       2: static char *sccsid = "@(#)refer0.c	4.1 (Berkeley) 5/6/83";
       3: #endif
       4:
       5: #include "refer..c"
       6:
       7: FILE *in = stdin;
       8: FILE *fo = stdout;
       9: FILE *ftemp = stdout;
      10: int endpush = 0;
      11: int sort = 0;
      12: int labels = 0;
      13: int keywant = 0;
      14: int bare = 0;
      15: int biblio = 0;
      16: int science = 0;
      17: int postpunct = 0;
      18: int authrev = 0;
      19: char *smallcaps = "";
      20: char *keystr = "AD";
      21: char *convert = "X.AP";
      22: int nmlen = 0, dtlen = 0;
      23: char *rdata[NSERCH];
      24: char **search = rdata;
      25: int refnum = 0;
      26: char reftext[NRFTXT];
      27: char *reftable[NRFTBL];
      28: char *rtp = reftext;
      29: int sep = '\n';
      30: char tfile[NTFILE];
      31: char ofile[NTFILE];
      32: char gfile[NTFILE];
      33: char hidenam[NTFILE];
      34: char *Ifile = "standard input";
      35: int Iline = 0;

#### Defined variables

Ifile defined in line 34; used 3 times

- in /usr/src/usr.bin/refer/refer1.c line 106-110(2)
- in /usr/src/usr.bin/refer/refer5.c line 85

Iline defined in line 35; used 7 times

- in /usr/src/usr.bin/refer/refer1.c line 105, 115-118(2)
- in /usr/src/usr.bin/refer/refer2.c line 24-27(2), 40
- in /usr/src/usr.bin/refer/refer5.c line 85

authrev defined in line 18; used 4 times

- in /usr/src/usr.bin/refer/refer1.c line 50-52(3)
- in /usr/src/usr.bin/refer/refer6.c line 67

bare defined in line 14; used 7 times

- in /usr/src/usr.bin/refer/refer1.c line 55, 65
- in /usr/src/usr.bin/refer/refer2.c line 127, 147
- in /usr/src/usr.bin/refer/refer5.c line 111, 156-159(2)

biblio defined in line 15; used 9 times

- in /usr/src/usr.bin/refer/refer1.c line 64, 116-118(2)
- in /usr/src/usr.bin/refer/refer2.c line 24, 30-32(2), 42, 152-154(2)

convert defined in line 21; used 4 times

- in /usr/src/usr.bin/refer/refer1.c line 67
- in /usr/src/usr.bin/refer/refer2.c line 32, 154-155(2)

endpush defined in line 10; used 6 times

- in /usr/src/usr.bin/refer/refer1.c line 18-22(2), 92, 127
- in /usr/src/usr.bin/refer/refer2.c line 125
- in /usr/src/usr.bin/refer/refer7.c line 33

gfile defined in line 32; used 2 times

- in /usr/src/usr.bin/refer/refer1.c line 159-160(2)

hidenam defined in line 33; used 8 times

- in /usr/src/usr.bin/refer/refer1.c line 163-164(2)
- in /usr/src/usr.bin/refer/refer5.c line 123-128(2), 144-151(4)

keystr defined in line 20; used 7 times

- in /usr/src/usr.bin/refer/refer1.c line 24
- in /usr/src/usr.bin/refer/refer2.c line 146
- in /usr/src/usr.bin/refer/refer5.c line 210-211(2), 220-222(3)

keywant defined in line 13; used 5 times

- in /usr/src/usr.bin/refer/refer1.c line 36
- in /usr/src/usr.bin/refer/refer5.c line 37-38(2), 62, 71

labels defined in line 12; never used
nmlen defined in line 22; used 3 times

- in /usr/src/usr.bin/refer/refer1.c line 29
- in /usr/src/usr.bin/refer/refer5.c line 46-47(2)

ofile defined in line 31; used 5 times

- in /usr/src/usr.bin/refer/refer1.c line 85-86(2), 131, 161-162(2)

postpunct defined in line 17; used 3 times

- in /usr/src/usr.bin/refer/refer1.c line 74
- in /usr/src/usr.bin/refer/refer4.c line 33, 47

rdata defined in line 23; used 4 times

- in line 24
- in /usr/src/usr.bin/refer/refer0.c line 24
- in /usr/src/usr.bin/refer/refer1.c line 46
- in /usr/src/usr.bin/refer/refer2.c line 81

refnum defined in line 25; used 8 times

- in /usr/src/usr.bin/refer/refer1.c line 61
- in /usr/src/usr.bin/refer/refer2.c line 144-148(3)
- in /usr/src/usr.bin/refer/refer7.c line 14-20(4)

reftable defined in line 27; used 2 times

- in /usr/src/usr.bin/refer/refer7.c line 15-18(2)

reftext defined in line 26; used 4 times

- in line 28
- in /usr/src/usr.bin/refer/refer0.c line 28
- in /usr/src/usr.bin/refer/refer7.c line 23-24(2)

rtp defined in line 28; used 5 times

- in /usr/src/usr.bin/refer/refer7.c line 18-24(5)

sccsid defined in line 2; never used
science defined in line 16; used 4 times

- in /usr/src/usr.bin/refer/refer1.c line 70
- in /usr/src/usr.bin/refer/refer5.c line 39, 71, 107

search defined in line 24; used 5 times

- in /usr/src/usr.bin/refer/refer1.c line 45-46(2), 81-83(2)
- in /usr/src/usr.bin/refer/refer2.c line 81

sep defined in line 29; used 23 times

- in /usr/src/usr.bin/refer/refer1.c line 99
- in /usr/src/usr.bin/refer/refer2.c line 155
- in /usr/src/usr.bin/refer/refer5.c line 158, 218, 234
- in /usr/src/usr.bin/refer/refer6.c line 7, 17, 24, 51-53(2), 72-75(3), 84, 91-97(4), 105-108(4)
- in /usr/src/usr.bin/refer/refer7.c line 52

smallcaps defined in line 19; used 4 times

- in /usr/src/usr.bin/refer/refer1.c line 58
- in /usr/src/usr.bin/refer/refer6.c line 41-43(2), 83

sort defined in line 11; used 4 times

- in /usr/src/usr.bin/refer/refer1.c line 21
- in /usr/src/usr.bin/refer/refer2.c line 145
- in /usr/src/usr.bin/refer/refer7.c line 37, 108

tfile defined in line 30; used 8 times

- in /usr/src/usr.bin/refer/refer1.c line 93-94(2), 157-158(2)
- in /usr/src/usr.bin/refer/refer7.c line 39-42(3), 74

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