Searched refs:oact (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-current/lib/libc/sys/
H A Dsigaction.c41 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 Dcl_main.c290 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 Dcl.h47 struct sigaction oact[INDX_MAX]; member in struct:_cl_private
/freebsd-current/lib/libc/tests/gen/
H A Ddlopen_empty_test.c61 struct sigaction act, oact; local
74 ATF_CHECK_MSG(sigaction(SIGSEGV, &act, &oact) != -1,
H A Dpopen_test.c139 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 Dfstest_udf.c63 struct sigaction act, oact; local
72 sigaction(SIGCHLD, &act, &oact);
74 sigaction(SIGCHLD, &oact, NULL);
H A Dfstest_ffs.c63 struct sigaction act, oact; local
69 sigaction(SIGCHLD, &act, &oact);
71 sigaction(SIGCHLD, &oact, NULL);
/freebsd-current/contrib/bmake/
H A Dsigaction.c8 * 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 Dsigcompat.c169 struct sigaction act, oact; local
177 n = sigaction(sig, &act, &oact);
181 return (oact.sa_handler);
/freebsd-current/contrib/libdiff/lib/
H A Ddiff_atomize_text.c137 struct sigaction act, oact; local
152 sigaction(SIGBUS, &act, &oact);
200 sigaction(SIGBUS, &oact, NULL);
/freebsd-current/lib/libthr/thread/
H A Dthr_sig.c458 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 Dthr_private.h991 struct sigaction *oact) __hidden;
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_sigqueue.c190 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 Dlib_tstp.c142 sigaction_t act, oact; local
215 sigaction(SIGTSTP, &act, &oact);
221 sigaction(SIGTSTP, &oact, NULL);
/freebsd-current/usr.bin/cmp/
H A Dregular.c56 struct sigaction act, oact; local
104 if (sigaction(SIGSEGV, &act, &oact))
160 if (sigaction(SIGSEGV, &oact, NULL))
/freebsd-current/usr.sbin/pppctl/
H A Dpppctl.c278 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 Dlinux32_machdep.c345 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 Dprogressbar.c431 struct sigaction act, oact;
442 if (sigaction(sig, &act, &oact) < 0)
444 return (oact.sa_handler);
/freebsd-current/tests/sys/fifo/
H A Dfifo_io.c316 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 Dkern_sig.c784 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 Ddtrace.c1291 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 Dlinux_machdep.c422 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 Dlinux_signal.c168 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 Ddt_cc.c1857 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 Dsyscallsubr.h343 struct sigaction *oact, int flags);

Completed in 184 milliseconds

12