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

Defined variables

argc defined in line 13; used 15 times
argc0 defined in line 14; used 15 times
args defined in line 11; used 4 times
argv defined in line 9; used 13 times
firstln defined in line 17; never used
firstpat defined in line 18; used 7 times
frob defined in line 26; used 3 times
morargc defined in line 15; used 3 times

Defined struct's

glob defined in line 21; used 4 times

Usage of this include

Last modified: 1980-09-13
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 620
Valid CSS Valid XHTML 1.0 Strict