Lines Matching defs:sig
68 static void md_catcher(int sig);
75 unsigned sig,
76 void (*handler)(int sig),
83 if (sig >= metansig) {
86 (sig + 1) * sizeof (metahandlers[0]));
89 ((sig + 1) * sizeof (metahandlers[0])));
91 ((sig - metansig) * sizeof (metahandlers[0])));
93 metansig = sig;
104 if (sigaction(sig, &newhandler, &metahandlers[sig]) < 0)
113 unsigned sig,
118 assert(sig <= metansig);
119 assert(metahandlers[sig].sa_handler != md_catcher);
122 if (sigaction(sig, &metahandlers[sig], NULL) < 0)
560 int sig
570 if ((msg = strsignal(sig)) == NULL) {
572 dgettext(TEXT_DOMAIN, "unknown signal %d"), sig);
585 if (sig != SIGABRT && sig != SIGBUS && sig != SIGSEGV) {
588 rb_signal_which = sig;
595 if (md_popsig(sig, ep) != 0) {
606 if (sigaction(sig, &defhandler, NULL) < 0) {
613 md_post_sig(sig);
617 md_post_sig(int sig)
619 if (kill(getpid(), sig) != 0) {
621 md_exit(NULL, -sig);
644 md_rb_sig_handling_off(int sig_seen, int sig)
650 md_post_sig(sig);
831 int sig = 0;
840 sig = 1;
855 "******************** RB_TEST(%s, %d, sig=%s)\n",
857 (sig != 0) ? "True" : "False");
858 if (sig) {