/freebsd-current/lib/libc/sys/ |
H A D | sigaction.c | 41 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument 43 return (INTERPOS_SYS(sigaction, sig, act, oact));
|
/freebsd-current/contrib/nvi/cl/ |
H A D | cl_main.c | 290 setsig(SIGHUP, &clp->oact[INDX_HUP], h_hup) || 292 setsig(SIGINT, &clp->oact[INDX_INT], h_int) || 294 setsig(SIGTERM, &clp->oact[INDX_TERM], h_term) 298 setsig(SIGWINCH, &clp->oact[INDX_WINCH], h_winch) 350 (void)sigaction(SIGHUP, NULL, &clp->oact[INDX_HUP]); 351 (void)sigaction(SIGINT, NULL, &clp->oact[INDX_INT]); 352 (void)sigaction(SIGTERM, NULL, &clp->oact[INDX_TERM]); 354 (void)sigaction(SIGWINCH, NULL, &clp->oact[INDX_WINCH]);
|
H A D | cl.h | 47 struct sigaction oact[INDX_MAX]; member in struct:_cl_private
|
/freebsd-current/lib/libc/tests/gen/ |
H A D | dlopen_empty_test.c | 61 struct sigaction act, oact; local 74 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1,
|
H A D | popen_test.c | 139 struct sigaction act, oact; local 159 ATF_CHECK_MSG(sigaction(SIGPIPE, &act, &oact) != -1, 177 ATF_CHECK_MSG(sigaction(SIGPIPE, &oact, NULL) != -1,
|
/freebsd-current/contrib/netbsd-tests/fs/common/ |
H A D | fstest_udf.c | 63 struct sigaction act, oact; local 72 sigaction(SIGCHLD, &act, &oact); 74 sigaction(SIGCHLD, &oact, NULL);
|
H A D | fstest_ffs.c | 63 struct sigaction act, oact; local 69 sigaction(SIGCHLD, &act, &oact); 71 sigaction(SIGCHLD, &oact, NULL);
|
/freebsd-current/contrib/bmake/ |
H A D | sigaction.c | 8 * struct sigaction *oact); 42 * "oact" are pointers to 'sigaction structs': 65 * Either "act" or "oact" may be NULL in which case the 191 struct sigaction *oact) 202 if (oact) { 217 if (oact) { 218 oact->sa_handler = oldh; 189 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
|
H A D | sigcompat.c | 169 struct sigaction act, oact; local 177 n = sigaction(sig, &act, &oact); 181 return (oact.sa_handler);
|
/freebsd-current/contrib/libdiff/lib/ |
H A D | diff_atomize_text.c | 137 struct sigaction act, oact; local 152 sigaction(SIGBUS, &act, &oact); 200 sigaction(SIGBUS, &oact, NULL);
|
/freebsd-current/lib/libthr/thread/ |
H A D | thr_sig.c | 458 struct sigaction act, nact, oact; local 468 error = __sys_sigaction(sig, NULL, &oact); 469 if (error == -1 || oact.sa_handler == SIG_DFL || 470 oact.sa_handler == SIG_IGN) 473 usa->sigact = oact; 474 nact = oact; 572 __thr_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument 616 } else if (oact != NULL) { 624 else if (oact != NULL) 632 if (oact ! [all...] |
H A D | thr_private.h | 991 struct sigaction *oact) __hidden;
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_sigqueue.c | 190 struct sigaction oact[CNT]; local 199 ATF_REQUIRE(sigaction(ordered[i], &act, &oact[i]) != -1); 229 ATF_REQUIRE(sigaction(signals[i], &oact[i], NULL) != -1);
|
/freebsd-current/contrib/ncurses/ncurses/tty/ |
H A D | lib_tstp.c | 142 sigaction_t act, oact; local 215 sigaction(SIGTSTP, &act, &oact); 221 sigaction(SIGTSTP, &oact, NULL);
|
/freebsd-current/usr.bin/cmp/ |
H A D | regular.c | 56 struct sigaction act, oact; local 104 if (sigaction(SIGSEGV, &act, &oact)) 160 if (sigaction(SIGSEGV, &oact, NULL))
|
/freebsd-current/usr.sbin/pppctl/ |
H A D | pppctl.c | 278 struct sigaction act, oact; local 289 sigaction(SIGUSR1, &act, &oact); 376 struct sigaction act, oact; local 525 sigaction(SIGALRM, &act, &oact); 533 sigaction(SIGALRM, &oact, 0); 554 sigaction(SIGALRM, &oact, 0);
|
/freebsd-current/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 345 l_sigaction_t act, oact; local 360 args->osa ? &oact : NULL); 363 osa.lsa_handler = oact.lsa_handler; 364 osa.lsa_flags = oact.lsa_flags; 365 osa.lsa_restorer = oact.lsa_restorer; 366 osa.lsa_mask = oact.lsa_mask.__mask;
|
/freebsd-current/contrib/tnftp/src/ |
H A D | progressbar.c | 431 struct sigaction act, oact; 442 if (sigaction(sig, &act, &oact) < 0) 444 return (oact.sa_handler);
|
/freebsd-current/tests/sys/fifo/ |
H A D | fifo_io.c | 316 struct sigaction act, oact; local 321 bzero(&act, sizeof(oact)); 323 if (sigaction(SIGALRM, &act, &oact) < 0) { 331 if (sigaction(SIGALRM, &oact, NULL) < 0) { 356 struct sigaction act, oact; local 361 bzero(&act, sizeof(oact)); 363 if (sigaction(SIGALRM, &act, &oact) < 0) { 371 if (sigaction(SIGALRM, &oact, NULL) < 0) {
|
/freebsd-current/sys/kern/ |
H A D | kern_sig.c | 784 struct sigaction *oact, int flags) 800 if (oact) { 801 memset(oact, 0, sizeof(*oact)); 802 oact->sa_mask = ps->ps_catchmask[_SIG_IDX(sig)]; 804 oact->sa_flags |= SA_ONSTACK; 806 oact->sa_flags |= SA_RESTART; 808 oact->sa_flags |= SA_RESETHAND; 810 oact->sa_flags |= SA_NODEFER; 812 oact 783 kern_sigaction(struct thread *td, int sig, const struct sigaction *act, struct sigaction *oact, int flags) argument 931 struct sigaction *oact; member in struct:sigaction_args 937 struct sigaction act, oact; local 959 struct sigaction *oact; member in struct:freebsd4_sigaction_args 965 struct sigaction act, oact; local [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 1291 struct sigaction act, oact; local 1297 if (sigaction(SIGINT, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1300 if (sigaction(SIGTERM, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1304 if (sigaction(SIGPIPE, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1307 if (sigaction(SIGUSR1, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) 1311 if (sigaction(SIGINFO, NULL, &oact) [all...] |
/freebsd-current/sys/i386/linux/ |
H A D | linux_machdep.c | 422 l_sigaction_t act, oact; local 437 args->osa ? &oact : NULL); 440 osa.lsa_handler = oact.lsa_handler; 441 osa.lsa_flags = oact.lsa_flags; 442 osa.lsa_restorer = oact.lsa_restorer; 443 osa.lsa_mask = oact.lsa_mask.__mask;
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_signal.c | 168 struct sigaction act, oact, *nsa, *osa; local 175 osa = (linux_osa != NULL) ? &oact : NULL; 271 args->oact ? &osa : NULL); 273 if (args->oact != NULL && error == 0) 274 error = copyout(&osa, args->oact, sizeof(osa));
|
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_cc.c | 1857 struct sigaction act, oact; local 1936 (void) sigaction(SIGCHLD, &act, &oact); 1939 (void) sigaction(SIGCHLD, &oact, NULL); 1961 (void) sigaction(SIGCHLD, &oact, NULL);
|
/freebsd-current/sys/sys/ |
H A D | syscallsubr.h | 343 struct sigaction *oact, int flags);
|