Home
last modified time | relevance | path

Searched refs:oact (Results 1 – 19 of 19) sorted by relevance

/openbsd/usr.bin/vi/cl/
H A Dcl_main.c253 if (setsig(SIGHUP, &clp->oact[INDX_HUP], h_term) || in sig_init()
254 setsig(SIGINT, &clp->oact[INDX_INT], h_int) || in sig_init()
255 setsig(SIGTERM, &clp->oact[INDX_TERM], h_term) || in sig_init()
256 setsig(SIGWINCH, &clp->oact[INDX_WINCH], h_winch) in sig_init()
302 (void)sigaction(SIGHUP, NULL, &clp->oact[INDX_HUP]); in sig_end()
303 (void)sigaction(SIGINT, NULL, &clp->oact[INDX_INT]); in sig_end()
304 (void)sigaction(SIGTERM, NULL, &clp->oact[INDX_TERM]); in sig_end()
305 (void)sigaction(SIGWINCH, NULL, &clp->oact[INDX_WINCH]); in sig_end()
H A Dcl.h38 struct sigaction oact[INDX_MAX]; member
/openbsd/usr.bin/cu/
H A Dinput.c50 struct sigaction act, oact; in get_input() local
58 if (sigaction(SIGINT, &act, &oact) != 0) in get_input()
85 sigaction(SIGINT, &oact, NULL); in get_input()
H A Dxmodem.c119 struct sigaction act, oact; in xmodem_send() local
131 if (sigaction(SIGINT, &act, &oact) != 0) in xmodem_send()
222 sigaction(SIGINT, &oact, NULL); in xmodem_send()
/openbsd/lib/libc/sys/
H A Dw_sigaction.c26 WRAP(sigaction)(int sig, const struct sigaction *act, struct sigaction *oact) in WRAP()
39 return (sigaction(sig, act, oact)); in WRAP()
/openbsd/usr.bin/mail/
H A Dcmd1.c56 struct sigaction act, oact; in headers() local
77 if (sigaction(SIGINT, NULL, &oact) == 0 && in headers()
78 oact.sa_handler != SIG_IGN) { in headers()
79 (void)sigaction(SIGINT, &act, &oact); in headers()
94 if (oact.sa_handler != SIG_IGN) { in headers()
96 (void)sigaction(SIGINT, &oact, NULL); in headers()
H A Dcollect.c436 struct sigaction oact; in mesedit() local
439 (void)ignoresig(SIGINT, &oact, &oset); in mesedit()
447 (void)sigaction(SIGINT, &oact, NULL); in mesedit()
462 struct sigaction oact; in mespipe() local
465 (void)ignoresig(SIGINT, &oact, &oset); in mespipe()
497 (void)sigaction(SIGINT, &oact, NULL); in mespipe()
H A Dcmd3.c53 struct sigaction oact; in shell() local
56 (void)ignoresig(SIGINT, &oact, &oset); in shell()
63 (void)sigaction(SIGINT, &oact, NULL); in shell()
75 struct sigaction oact; in dosh() local
79 (void)ignoresig(SIGINT, &oact, &oset); in dosh()
82 (void)sigaction(SIGINT, &oact, NULL); in dosh()
H A Dedit.c81 struct sigaction oact; in edit1() local
106 (void)ignoresig(SIGINT, &oact, &oset); in edit1()
136 (void)sigaction(SIGINT, &oact, NULL); in edit1()
H A Dtty.c261 struct sigaction act, oact; in ttystop() local
273 (void)sigaction(s, &act, &oact); in ttystop()
279 (void)sigaction(s, &oact, NULL); in ttystop()
H A Dfio.c364 ignoresig(int sig, struct sigaction *oact, sigset_t *oset) in ignoresig() argument
373 error = sigaction(sig, &act, oact); in ignoresig()
/openbsd/lib/libcurses/tty/
H A Dlib_tstp.c144 sigaction_t act, oact; in handle_SIGTSTP() local
217 sigaction(SIGTSTP, &act, &oact); in handle_SIGTSTP()
223 sigaction(SIGTSTP, &oact, NULL); in handle_SIGTSTP()
/openbsd/bin/csh/
H A Dcsh.c173 struct sigaction oact; in main() local
311 (void) sigaction(SIGINT, NULL, &oact); in main()
312 parintr = oact.sa_handler; in main()
313 (void) sigaction(SIGTERM, NULL, &oact); in main()
314 parterm = oact.sa_handler; in main()
/openbsd/gnu/usr.bin/perl/ext/POSIX/
H A DPOSIX.xs2810 struct sigaction oact;
2890 RETVAL = sigaction(sig, (struct sigaction *)0, & oact);
2905 *sigset = oact.sa_mask;
2909 sv_setiv(*svp, oact.sa_flags);
2917 (oact.sa_flags & SA_SIGINFO)
2918 ? ( oact.sa_sigaction == PL_csighandler3p
2920 || oact.sa_sigaction == PL_csighandlerp
2925 ( oact.sa_handler == PL_csighandler1p
2927 || oact.sa_handler == PL_csighandlerp
/openbsd/gnu/lib/libreadline/
H A Daclocal.m41289 struct sigaction act, oact;
1293 sigemptyset (&oact.sa_mask);
1294 sigaction (sig, &act, &oact);
1295 return (oact.sa_handler);
H A Dconfigure3457 struct sigaction act, oact;
3461 sigemptyset (&oact.sa_mask);
3462 sigaction (sig, &act, &oact);
3463 return (oact.sa_handler);
/openbsd/gnu/usr.bin/perl/
H A Dutil.c2902 struct sigaction act, oact; in Perl_rsignal() local
2921 if (sigaction(signo, &act, &oact) == -1) in Perl_rsignal()
2924 return (Sighandler_t) oact.sa_handler; in Perl_rsignal()
2940 struct sigaction oact; in Perl_rsignal_state() local
2943 if (sigaction(signo, (struct sigaction *)NULL, &oact) == -1) in Perl_rsignal_state()
2946 return (Sighandler_t) oact.sa_handler; in Perl_rsignal_state()
H A Dmg.c3741 struct sigaction oact; in Perl_perly_sighandler() local
3743 if (sip && sigaction(sig, 0, &oact) == 0 && oact.sa_flags & SA_SIGINFO) { in Perl_perly_sighandler()
/openbsd/gnu/usr.bin/perl/vms/
H A Dvms.c2186 struct sigaction* oact) in Perl_my_sigaction() argument
2192 return sigaction(sig, act, oact); in Perl_my_sigaction()