Lines Matching refs:quit
83 #include "quit.h"
95 * If ckquit is non-zero, then "quit" is allowed as an answer when
96 * ckyorn is called. If is it zero, then "quit" is not an allowed answer.
104 /* these globals are set by ckreturn and used by quit.c */
109 int intrflag = 0; /* != 0 if user selected quit (3) */
114 /* imported by quit.c */
149 static int interrupted = 0; /* last pkg op was quit (1,2,3,4,5) */
341 /* tell quit which ckreturn function to call */
349 /* reset npkgs (used as pkg remaining count in quit.c) */
409 quit(1);
421 quit(1);
425 quit(1);
430 quit(1);
460 quit(1);
476 quit(1);
480 quit(1);
551 quit(1);
637 quit(1);
666 quit(1);
690 quit(1);
723 quit(1);
791 quit(1);
809 quit(1);
997 * hook SIGINT and SIGHUP interrupts into quit.c's trap handler
1005 /* connect quit.c:trap() to SIGINT */
1013 /* connect quit.c:trap() to SIGHUP */
1072 quit(1);
1094 quit(1);
1101 quit(1);
1106 quit(1);
1113 quit(1);
1138 quit(1);
1153 quit(1);
1160 quit(1);
1167 quit(1);
1173 quit(1);
1182 quit(1);
1187 /* register with quit() so directory is removed on exit */
1198 quit(1);
1207 quit(1);
1221 quit(1);
1262 quit(1);
1286 quit(1);
1291 quit(n);
1303 quit(1);
1349 quit(1);
1355 * NOTE: npkgs is a global variable that is referenced by quit.c
1379 quit(1);
1412 * not continuing - quit with 0 exit code
1415 quit(0);
1456 * 3 - user selected quit (operation interrupted)
1681 quit(1);
1689 quit(1);
1765 * 3 - user selected quit (operation interrupted)
2019 quit(1);
2027 quit(1);
2092 * 3 - user selected quit (operation interrupted)
2422 intrflag = 0; /* != 0 if user selected quit (3) */
2426 interrupted = 0; /* last pkg op was quit (1,2,3,4,5) */
2468 case 3: /* user selected quit; operation interrupted */
2874 * NOTE: On any error this function will call 'quit(1)'
2906 quit(1);
2931 * NOTE: On any error this function will call 'quit(1)'
2933 * register the directory created with quit() so that the
2963 quit(1);
2967 /* register with quit() so directory is removed on exit */
3027 quit(n);
3123 * Will call quit(n) on fatal error.
3162 default: /* "quit" error */
3165 quit(n);
3184 quit(1);
3199 quit(99);
3216 quit(1);
3226 quit(1);
3235 quit(99);
3783 quit(1);
3819 quit(1);
3840 interrupted = 0; /* last action was NOT quit */
3909 quit(i);
3991 interrupted = 0; /* last action was NOT quit */
4067 quit(1);
4172 quit(1);
4242 interrupted = 0; /* last action was NOT quit */
4360 quit(1);
4395 interrupted = 0; /* last action was NOT quit */
4503 quit(1);
4510 quit(1);