/*- * Copyright (c) 1980, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% * * @(#)main.h 8.1 (Berkeley) 06/06/93 */ /* * Definitions for main program. * * The main program just handles the command arguments and then * gives control to the command module. It's also the center of * error recovery, since non-fatal errors longjmp into the main routine. */ BOOLEAN opt[26]; /* true if command line option given */ #define option(c) opt[(c)-'a'] #define isterm(file) (option('i') || isatty(fileno(file))) int main(); /* debugger main routine */ int init(); /* read in source and object data */ int erecover(); /* does non-local goto for error recovery */ int quit(); /* clean-up before exiting */