# 2.11BSD#431 - /usr/src/ucb/ex/ex_argv.h

##### Variables

    argc              X
    argc0             X
    args              X
    args0             X
    argv              X
    argv0             X
    firstln           X
    firstpat          X
    frob              X
    morargc           X

##### struct's

    glob              X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)ex_argv.h	7.3 (Berkeley) 5/31/85
       7:  */
       8:
       9: /*
      10:  * The current implementation of the argument list is poor,
      11:  * using an argv even for internally done "next" commands.
      12:  * It is not hard to see that this is restrictive and a waste of
      13:  * space.  The statically allocated glob structure could be replaced
      14:  * by a dynamically allocated argument area space.
      15:  */
      16: var char    **argv;
      17: var char    **argv0;
      18: var char    *args;
      19: var char    *args0;
      20: var short   argc;
      21: var short   argc0;
      22: var short   morargc;        /* Used with "More files to edit..." */
      23:
      24: var int firstln;        /* From +lineno */
      25: var char    *firstpat;      /* From +/pat	*/
      26:
      27: /* Yech... */
      28: struct  glob {
      29:     short   argc;           /* Index of current file in argv */
      30:     short   argc0;          /* Number of arguments in argv */
      31:     char    *argv[NARGS + 1];   /* WHAT A WASTE! */
      32:     char    argspac[NCARGS + sizeof (int)];
      33: };
      34: var struct  glob frob;

#### Defined variables

argc defined in line 20; used 15 times

- in line 29
- in /usr/src/ucb/ex/ex.c line 338
- in /usr/src/ucb/ex/ex_cmds2.c line 98-102(3), 245-252(3), 318-322(5)
- in /usr/src/ucb/ex/ex_cmdsub.c line 95-98(2)

argc0 defined in line 21; used 15 times

- in line 30
- in /usr/src/ucb/ex/ex.c line 283
- in /usr/src/ucb/ex/ex_cmds2.c line 98, 232(2)
- in /usr/src/ucb/ex/ex_cmdsub.c line 92-98(3)
- in /usr/src/ucb/ex/ex_io.c line 204, 217, 260-261(2), 267, 296-298(2)

args defined in line 18; used 5 times

- in /usr/src/ucb/ex/ex_cmds2.c line 100, 248-253(4)

args0 defined in line 19; used 4 times

- in /usr/src/ucb/ex/ex.c line 284
- in /usr/src/ucb/ex/ex_cmds2.c line 100, 234
- in /usr/src/ucb/ex/ex_cmdsub.c line 89

argv defined in line 16; used 13 times

- in line 31
- in /usr/src/ucb/ex/ex_cmds2.c line 99, 233, 253(2)
- in /usr/src/ucb/ex/ex_io.c line 198(2), 213, 219, 244, 257, 263, 298

argv0 defined in line 17; used 5 times

- in /usr/src/ucb/ex/ex.c line 282
- in /usr/src/ucb/ex/ex_cmds2.c line 99, 233-234(2)
- in /usr/src/ucb/ex/ex_cmdsub.c line 89

firstln defined in line 24; never used
firstpat defined in line 25; used 7 times

- in /usr/src/ucb/ex/ex.c line 256
- in /usr/src/ucb/ex/ex_io.c line 139, 456-464(5)

frob defined in line 34; used 3 times

- in /usr/src/ucb/ex/ex_cmds2.c line 231-233(3)

morargc defined in line 22; used 3 times

- in /usr/src/ucb/ex/ex_cmds2.c line 247, 318-320(2)

#### Defined struct's

glob defined in line 28; used 6 times

- in line 34(2)
- in /usr/src/ucb/ex/ex_io.c line 195(2), 288(2)

#### Usage of this include

ex_argv.h used 6 times

- in /usr/src/ucb/ex/ex.c line 16
- in /usr/src/ucb/ex/ex_cmds.c line 12
- in /usr/src/ucb/ex/ex_cmds2.c line 12
- in /usr/src/ucb/ex/ex_cmdsub.c line 12
- in /usr/src/ucb/ex/ex_extern.c line 21
- in /usr/src/ucb/ex/ex_io.c line 12

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