|
|
1.1 ! root 1: /* @(#) _ec_quit.c: 1.1 10/15/83 (1.21 2/11/83) */ ! 2: ! 3: #include "curses.ext" ! 4: ! 5: #ifndef NONSTANDARD ! 6: /* ! 7: * Emergency quit. Called at startup only if something wrong in ! 8: * initializing termcap. ! 9: */ ! 10: _ec_quit(msg, parm) ! 11: char *msg, *parm; ! 12: { ! 13: #ifdef DEBUG ! 14: if(outf) fprintf(outf, "_ec_quit(%s,%s).\n", msg, parm); ! 15: #endif ! 16: reset_shell_mode(); ! 17: fprintf(stderr, msg, parm); ! 18: exit(1); ! 19: } ! 20: #endif NONSTANDARD
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.