home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Distributions
/
ucb
/
spencer_2bsd.tar.gz
/
2bsd.tar
/
src
/
ex
/
ex_argv.h
< prev
next >
Wrap
C/C++ Source or Header
|
1980-02-17
|
765b
|
26 lines
/* Copyright (c) 1979 Regents of the University of California */
/*
* The current implementation of the argument list is poor,
* using an argv even for internally done "next" commands.
* It is not hard to see that this is restrictive and a waste of
* space. The statically allocated glob structure could be replaced
* by a dynamically allocated argument area space.
*/
char **argv;
char **argv0;
char *args;
char *args0;
short argc;
short argc0;
short morargc; /* Used with "More files to edit..." */
short firstln; /* From +lineno */
/* Yech... */
struct glob {
short argc; /* Index of current file in argv */
short argc0; /* Number of arguments in argv */
char *argv[NARGS + 1]; /* WHAT A WASTE! */
char argspac[NCARGS + sizeof (int)];
} frob;