Annotation of 43BSD/ucb/pascal/pdx/main.h, revision 1.1.1.1

1.1       root        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:  *     @(#)main.h      5.2 (Berkeley) 6/7/85
                      7:  */
                      8: 
                      9: /*
                     10:  * Definitions for main program.
                     11:  *
                     12:  * The main program just handles the command arguments and then
                     13:  * gives control to the command module.  It's also the center of
                     14:  * error recovery, since non-fatal errors longjmp into the main routine.
                     15:  */
                     16: 
                     17: BOOLEAN opt[26];       /* true if command line option given */
                     18: 
                     19: #define option(c)      opt[(c)-'a']
                     20: #define isterm(file)   (option('i') || isatty(fileno(file)))
                     21: 
                     22: main();                        /* debugger main routine */
                     23: init();                        /* read in source and object data */
                     24: erecover();            /* does non-local goto for error recovery */
                     25: quit();                        /* clean-up before exiting */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.