1 /* Copyright (c) 1985 Ceriel J.H. Jacobs */
11 PUBLIC
int nopipe
; /* Not reading from pipe? */
12 PUBLIC
char * progname
; /* Name of this program */
13 PUBLIC
int interrupt
; /* Interrupt given? */
14 PUBLIC
int no_tty
; /* output not to a terminal, behave like cat */
19 * int argc; Argument count
20 * char *argv[]; The arguments
28 * int i; Either 0 or 1, indicates which temporary to open
30 * Returns a file descriptor for the temporary file, or panics if
31 * it couldn't open one.
38 * interrupt handler. Does not return a value, but PCC has some
39 * difficulty with the type pointer to function returning void.
40 * This routine only sets a flag indicating that there was an interrupt.
47 * Quit signal handler. Also used for normal exits.
48 * It resets the terminal and exits
54 * char *str; Reason for panic
56 * Panic, but at least tell the user why.
64 * Suspends this process