/* @(#)ex_argv.h 1.1 92/07/30 SMI; from S5R3.1 1.5 */
/* Copyright (c) 1984 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
/* Copyright (c) 1981 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.
*/
var char **argv;
var char **argv0;
var char *args;
var char *args0;
var short argc;
var short argc0;
var short morargc; /* Used with "More files to edit..." */
var int firstln; /* From +lineno */
var char *firstpat; /* From +/pat */
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)];
};
var struct glob frob;
ex_argv.rar_in
版权申诉
184 浏览量
2022-09-23
01:08:50
上传
评论
收藏 726B RAR 举报
alvarocfc
- 粉丝: 108
- 资源: 1万+