Searched defs:signals (Results 1 - 13 of 13) sorted by relevance

/ast/src/lib/libast/misc/
H A Dsigcrit.c38 signals[] = /* held inside critical region */ variable in typeref:struct:__anon293
90 * op<0 return non-zero if any signals held in current region
92 * signals[] held until region popped
108 static Sig_handler_t handler[elementsof(signals)];
121 for (i = 0; i < elementsof(signals); i++)
122 if (op & signals[i].op)
123 sigaddset(&nmask, signals[i].sig);
128 for (i = 0; i < elementsof(signals); i++)
129 if (op & signals[i].op)
130 mask |= sigmask(signals[
[all...]
/ast/src/cmd/nmake/
H A Dtrap.c47 static int signals[] = /* signals to catch */ variable
82 int* caught; /* caught signals */
236 for (i = 0; i < elementsof(signals); i++)
237 if (signal(signals[i], interrupt) == SIG_IGN)
238 signal(signals[i], SIG_IGN);
/ast/src/lib/libcs/
H A Dcss.c41 static int signals[] = /* caught by interrupt() */ variable
325 for (n = 0; n < elementsof(signals); n++)
326 if (signal(signals[n], SIG_IGN) != SIG_IGN)
327 signal(signals[n], interrupt);
/ast/src/cmd/probe/
H A Dprobe.c159 static int signals[] = /* signals caught by interrupt() */ variable
508 for (n = 0; n < elementsof(signals); n++)
509 if (signal(signals[n], interrupt) == SIG_IGN)
510 signal(signals[n], SIG_IGN);
/ast/src/cmd/re/
H A Dtestfmt.c58 H(" -c catch signals and non-terminating calls\n");
92 int signals; member in struct:__anon208
301 state.signals++;
422 testno = state.errors = state.lineno = state.signals = state.warnings = 0;
560 if (state.signals)
561 sfprintf(sfstdout, ", %d signal%s", state.signals, state.signals == 1 ? "" : "s");
H A Dtestfnmatch.c77 H(" -c catch signals and non-terminating calls\n");
181 int signals; member in struct:__anon209
438 state.signals++;
599 state.signals = state.unspecified = state.warnings = 0;
926 if (state.signals)
927 printf(", %d signal%s", state.signals, state.signals == 1 ? "" : "s");
H A Dtestmatch.c87 H(" -c catch signals and non-terminating calls\n");
210 int signals; member in struct:__anon213
567 state.signals++;
734 state.ignore.count = state.lineno = state.signals = state.unspecified = state.warnings = 0;
1157 if (state.signals)
1158 printf(", %d signal%s", state.signals, state.signals == 1 ? "" : "s");
H A Dtestglob.c101 H(" -c catch signals and non-terminating calls\n");
272 int signals; member in struct:__anon211
440 state.signals++;
1086 if (state.signals)
1087 printf(", %d signal%s", state.signals, state.signals == 1 ? "" : "s");
H A Ded.c110 static int signals[] = { SIGQUIT, SIGHUP, SIGINT, SIGTERM }; variable
379 for (c = 0; c < elementsof(signals); c++)
380 if (signal(signals[c], interrupt) == SIG_IGN)
381 signal(signals[c], SIG_IGN);
951 for (c = 0; c < elementsof(signals); c++)
952 signal(signals[c], SIG_IGN);
H A Dtestregex.c183 T(" -c catch signals and non-terminating calls\n");
560 int signals; member in struct:__anon216
1020 state.signals++;
1355 state.signals = state.unspecified = state.warnings = 0;
2267 printf("tests=%-4d errors=%-4d warnings=%-2d ignored=%-2d unspecified=%-2d signals=%d\n", testno, state.errors, state.warnings, state.ignored, state.unspecified, state.signals);
2280 if (state.signals)
2281 printf(", %d signal%s", state.signals, state.signals == 1 ? "" : "s");
/ast/src/cmd/tests/
H A Ddate.c26 * -c catch signals and non-terminating tmscan()
65 int signals; member in struct:__anon235
224 state.signals++;
429 if (state.signals)
430 sfprintf(sfstdout, ", %d signals", state.signals);
/ast/src/cmd/mailx/
H A Dlocal.c444 signals[] = /* held inside critical region */ variable in typeref:struct:__anon131
478 * op<0 return non-zero if any signals held in current region
480 * signals[] held until region popped
501 for (i = 0; i < elementsof(signals); i++)
502 if (op & signals[i].op)
503 sigaddset(&nmask, signals[i].sig);
511 for (i = 0; i < elementsof(signals); i++)
512 if (region & signals[i].op)
514 if (sigismember(&nmask, signals[i].sig))
536 * remove sig from the set of blocked signals
[all...]
/ast/src/cmd/pax/
H A Dpax.c142 static int signals[] = /* signals caught by interrupt() */ variable
1877 for (i = 0; i < elementsof(signals); i++)
1878 if (signal(signals[i], interrupt) == SIG_IGN)
1879 signal(signals[i], SIG_IGN);

Completed in 31 milliseconds