Searched refs:interrupt (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libast/uwin/
H A Dgetpass.c44 static int interrupt; variable
47 interrupt++;
60 interrupt = 0;
73 if(interrupt)
/ast/src/cmd/nmake/
H A Dtrap.c92 interrupt(register int sig) function
94 signal(sig, sig == SIGPIPE ? SIG_IGN : interrupt);
171 p = cons(catrule(external.interrupt, ".", fmtsignal(-SIGALRM), 1), NiL);
237 if (signal(signals[i], interrupt) == SIG_IGN)
281 if (!state.interrupt)
282 state.interrupt = sig;
311 if ((r = catrule(external.interrupt, ".", s, 0)) || (r = getrule(external.interrupt)))
314 v = setvar(external.interrupt, s, 0);
363 * if external.interrupt
[all...]
H A Dmain.c240 if ((state.mam.level = level) > 0 && !state.hold && (r = internal.error) && (r->property & (P_functional|P_target)) == (P_functional|P_target) && !state.compileonly && !state.interrupt && (m = stakptr(0)) && (n = staktell()) > 0)
882 if (n && error_info.errors && !state.compileonly && !state.interrupt)
913 message((-1, "%s cleanup", state.interrupt ? "interrupt" : n > 0 ? "error" : "normal"));
1010 message((-1, "%s exit", state.interrupt ? "interrupt" : n ? "error" : "normal"));
1014 if (state.interrupt)
1017 signal(state.interrupt, SIG_DFL);
1018 kill(getpid(), state.interrupt);
H A DMakefile52 edit immediate implicit internal interrupt metarule option panic \
H A Dmake.h688 char* interrupt; /* made on first interrupt */ member in struct:External_s
828 int interrupt; /* interrupt causing exit */ member in struct:State_s
H A Dcommand.c1203 if (state.interrupt || !(job->flags & (CO_IGNORE|CO_KEEPGOING)))
1206 message((-3, "job: %s: interrupt=%d clear=%d status=%d flags=%08x", job->target->name, state.interrupt, clear, cojob->status, job->flags));
1224 else if (!state.interrupt)
H A Dstate.c996 if (state.interrupt && r->status != EXISTS)
/ast/src/lib/libast/misc/
H A Dsigcrit.c77 interrupt(int sig) function
79 signal(sig, interrupt);
135 if ((op & signals[i].op) && (handler[i] = signal(signals[i].sig, interrupt)) == SIG_IGN)
/ast/src/lib/libcs/
H A Dcslib.h48 int interrupt; /* last interrupt */ \
H A Dcss.c41 static int signals[] = /* caught by interrupt() */
57 interrupt(int sig) function
62 signal(sig, interrupt);
64 if (cs.interrupt != SIGCHLD)
66 cs.interrupt = sig;
327 signal(signals[n], interrupt);
707 sig = (err == EINTR) ? cs.interrupt : 0;
/ast/src/cmd/html/
H A Dtroff2html.h273 int interrupt; /* text interrupted by \c */ member in struct:State_s::__anon100
H A Dtroff2html.c3022 if (!state.it.interrupt)
3653 if (!argc && !state.it.interrupt) \
3889 state.it.interrupt = 0;
3952 state.it.interrupt = 1;
4419 if (state.it.interrupt)
4422 state.it.interrupt = 0;
/ast/src/cmd/ksh93/tests/
H A Dpty.sh157 # character other than <newline>, erase, interrupt, kill, control-V,
203 # interrupt character causes sh to terminate command line editing on
243 # command line editing is supported: When in insert mode the interrupt
292 # following set of characters: <newline>, erase, interrupt, kill,
324 w echo interrupt=:\cV\cC:
325 u ^interrupt=:\cC:\r?\n$
/ast/src/cmd/re/
H A Ded.c261 interrupt(int sig) function
263 signal(sig, interrupt);
380 if (signal(signals[c], interrupt) == SIG_IGN)
949 error(2, "interrupt");
/ast/src/cmd/probe/
H A Dprobe.c159 static int signals[] = /* signals caught by interrupt() */
268 interrupt(int sig) function
509 if (signal(signals[n], interrupt) == SIG_IGN)
/ast/src/cmd/pax/
H A Dpax.c142 static int signals[] = /* signals caught by interrupt() */
168 interrupt(int sig) function
178 state.interrupt = sig;
1878 if (signal(signals[i], interrupt) == SIG_IGN)
2022 if (state.interrupt)
2024 signal(state.interrupt, SIG_DFL);
2025 kill(getpid(), state.interrupt);
H A Dpax.h545 int interrupt; /* this signal caused exit */ \
/ast/src/cmd/std/
H A Ddd.c415 interrupt(int sig) function
527 signal(SIGINT, interrupt);

Completed in 68 milliseconds