Home
last modified time | relevance | path

Searched refs:sigs (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dexit.c95 Signals * sigs; in handler() local
104 for (sigs = signals; sigs->signo; sigs++) { in handler()
105 if (sigs->defhdl == SIG_IGN) in handler()
106 (void) sigaction(sigs->signo, &nact, NULL); in handler()
139 Signals * sigs; in ld_init_sighandler() local
165 for (sigs = signals; sigs->signo; sigs++) { in ld_init_sighandler()
166 if ((sigaction(sigs->signo, NULL, &oact) == 0) && in ld_init_sighandler()
169 if (sigs->defhdl == SIG_DFL) in ld_init_sighandler()
171 (void) sigaction(sigs->signo, &nact, NULL); in ld_init_sighandler()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dssignal.c45 static int (*sigs[MAXSIGNUM-MINSIG+1])(int); variable
53 savefn = sigs[sig-MINSIG]; in ssignal()
54 sigs[sig-MINSIG] = action; in ssignal()
68 (sigfn = sigs[sig-MINSIG]) == (int(*)(int))(uintptr_t)SIG_DFL) { in gsignal()
74 sigs[sig-MINSIG] = (int(*)(int))(uintptr_t)SIG_DFL; in gsignal()
H A Dsigsetops.c52 static sigset_t sigs; variable
65 (void) __sigfillset(&sigs); in sigvalid()
69 return ((sigs.__sigbits[sigword(sig)] & bitmask(sig)) != 0); in sigvalid()
76 (void) __sigfillset(&sigs); in sigfillset()
80 *set = sigs; in sigfillset()
H A Dsyslog.c364 sigset_t sigs; in vsyslog() local
368 (void) sigemptyset(&sigs); in vsyslog()
369 (void) sigaddset(&sigs, SIGALRM); in vsyslog()
370 (void) sigprocmask(SIG_UNBLOCK, &sigs, NULL); in vsyslog()
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c133 sigset_t sigs, allsigs; in main() local
242 (void) sigemptyset(&sigs); in main()
243 (void) sigaddset(&sigs, SIGTERM); in main()
244 (void) sigaddset(&sigs, SIGINT); in main()
245 (void) sigaddset(&sigs, SIGQUIT); in main()
257 sig = sigwait(&sigs); in main()
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c79 int sigs[] = {SIGHUP, SIGINT, SIGPIPE, 0}; in main() local
85 for (i = 0; sigs[i]; ++i) { in main()
86 if (signal(sigs[i], SIG_IGN) != SIG_IGN) in main()
87 (void) signal(sigs[i], catchsig); in main()
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A DAppcertUtil.pm891 my (@sigs) = qw(INT QUIT);
898 foreach $sig (@sigs) {
902 foreach $sig (@sigs) {
906 foreach $sig (@sigs) {
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibsharecore.c108 sablocksigs(sigset_t *sigs) in sablocksigs() argument
112 if (sigs != NULL) { in sablocksigs()
118 (void) sigprocmask(SIG_SETMASK, &new, sigs); in sablocksigs()
128 saunblocksigs(sigset_t *sigs) in saunblocksigs() argument
130 if (sigs != NULL) in saunblocksigs()
131 (void) sigprocmask(SIG_SETMASK, sigs, NULL); in saunblocksigs()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c737 sigset_t sigs; in pselect() local
759 sigprocmask(SIG_SETMASK, sigmask, &sigs); in pselect()
802 sigprocmask(SIG_SETMASK, &sigs, NULL); in pselect()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1124 sigset_t sigs; in pselect() local
1133 sigprocmask(SIG_SETMASK, sigmask, &sigs); in pselect()
1136 sigprocmask(SIG_SETMASK, &sigs, NULL); in pselect()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c296 sigset_t sigs, allsigs; in main() local
431 (void) sigemptyset(&sigs); in main()
432 (void) sigaddset(&sigs, SIGHUP); /* reconfigure */ in main()
433 (void) sigaddset(&sigs, SIGALRM); /* mark & flush timer */ in main()
434 (void) sigaddset(&sigs, SIGTERM); /* exit */ in main()
435 (void) sigaddset(&sigs, SIGINT); /* exit if debugging */ in main()
436 (void) sigaddset(&sigs, SIGQUIT); /* exit if debugging */ in main()
437 (void) sigaddset(&sigs, SIGPIPE); /* catch & discard */ in main()
438 (void) sigaddset(&sigs, SIGUSR1); /* dump debug stats */ in main()
461 (void) sigwait(&sigs, &sig); in main()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c404 GlSignalNode *sigs; /* The head of the list of signals */ member
1783 gl->sigs = NULL; in new_GetLine()
2496 for(sig=gl->sigs; sig; sig=sig->next) { in gl_override_signal_handlers()
2512 for(sig=gl->sigs; sig; sig=sig->next) { in gl_override_signal_handlers()
2553 for(sig=gl->sigs; sig; sig=sig->next) { in gl_restore_signal_handlers()
3410 for(sig=gl->sigs; sig && sig->signo != signo; sig=sig->next) in gl_check_caught_signal()
10162 sig->next = gl->sigs;
10163 gl->sigs = sig;
10223 for(prev=NULL,sig=gl->sigs; sig && sig->signo != signo;
10233 gl->sigs = sig->next;
[all …]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c1594 int *ip, sigs[] = {SIGINT, SIGTERM, 0}; in init_sigs() local
1598 for (ip = sigs; *ip; ip++) in init_sigs()
1601 for (ip = sigs; *ip; ip++) in init_sigs()
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dchanges.txt7372 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.