Searched refs:sigaction (Results 1 - 25 of 270) sorted by relevance

1234567891011

/freebsd-head/lib/libc/sys/
H A Dsigaction.c41 __weak_reference(sigaction, __libc_sigaction);
43 #pragma weak sigaction macro
45 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) function
48 return (((int (*)(int, const struct sigaction *, struct sigaction *))
/freebsd-head/crypto/heimdal/lib/kadm5/
H A Dipropd_common.c50 struct sigaction sa;
56 sigaction(SIGINT, &sa, NULL);
57 sigaction(SIGTERM, &sa, NULL);
58 sigaction(SIGXCPU, &sa, NULL);
61 sigaction(SIGPIPE, &sa, NULL);
/freebsd-head/lib/libc/gen/
H A Dsiginterrupt.c49 struct sigaction sa;
52 if ((ret = __libc_sigaction(sig, (struct sigaction *)0, &sa)) < 0)
61 return (__libc_sigaction(sig, &sa, (struct sigaction *)0));
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/raise/
H A Dtst.raise2.c42 struct sigaction sa;
48 (void) sigaction(SIGUSR1, &sa, NULL);
H A Dtst.raise3.c42 struct sigaction sa;
48 (void) sigaction(SIGUSR1, &sa, NULL);
/freebsd-head/contrib/tcsh/
H A Dtc.sig.h124 sigaction(SIGINT, NULL, &(sv)[0]); \
125 sigaction(SIGQUIT, NULL, &(sv)[1]); \
126 sigaction(SIGTSTP, NULL, &(sv)[2]); \
127 sigaction(SIGTTIN, NULL, &(sv)[3]); \
128 sigaction(SIGTTOU, NULL, &(sv)[4]); \
129 sigaction(SIGTERM, NULL, &(sv)[5]); \
130 sigaction(SIGHUP, NULL, &(sv)[6]); \
144 sigaction(SIGINT, &(sv)[0], NULL); \
145 sigaction(SIGQUIT, &(sv)[1], NULL); \
146 sigaction(SIGTST
[all...]
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c60 struct sigaction sa, savealrm, saveint, savehup, savequit, saveterm;
61 struct sigaction savetstp, savettin, savettou, savepipe;
118 (void)sigaction(SIGALRM, &sa, &savealrm);
119 (void)sigaction(SIGHUP, &sa, &savehup);
120 (void)sigaction(SIGINT, &sa, &saveint);
121 (void)sigaction(SIGPIPE, &sa, &savepipe);
122 (void)sigaction(SIGQUIT, &sa, &savequit);
123 (void)sigaction(SIGTERM, &sa, &saveterm);
124 (void)sigaction(SIGTSTP, &sa, &savetstp);
125 (void)sigaction(SIGTTI
[all...]
H A Dsigact.h40 * and usually no sigaction() nor <termios.h>
67 struct sigaction struct
81 int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact);
H A Dbsd-signal.c31 struct sigaction sa, osa;
33 if (sigaction(sig, NULL, &osa) == -1)
44 if (sigaction(sig, &sa, NULL) == -1)
/freebsd-head/contrib/ncurses/ncurses/
H A DSigAction.h39 * and usually no sigaction() nor <termios.h>
56 typedef struct sigaction sigaction_t;
92 #undef sigaction macro
93 #define sigaction _nc_sigaction macro
106 #include <base/sigaction.c>
/freebsd-head/crypto/heimdal/lib/roken/
H A Dsignal.c53 struct sigaction saNew, saOld;
72 if (sigaction(iSig, &saNew, &saOld) < 0)
/freebsd-head/crypto/heimdal/kcm/
H A Dmain.c78 struct sigaction sa;
84 sigaction(SIGINT, &sa, NULL);
85 sigaction(SIGTERM, &sa, NULL);
88 sigaction(SIGUSR1, &sa, NULL);
91 sigaction(SIGUSR2, &sa, NULL);
94 sigaction(SIGPIPE, &sa, NULL);
/freebsd-head/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilDarwin.cpp31 static struct sigaction OldSigIntAction;
32 static struct sigaction OldSigQuitAction;
51 static struct sigaction IgnoreSignalAction;
56 if (sigaction(SIGINT, &IgnoreSignalAction, &OldSigIntAction) == -1) {
61 if (sigaction(SIGQUIT, &IgnoreSignalAction, &OldSigQuitAction) == -1) {
64 (void)sigaction(SIGINT, &OldSigIntAction, NULL);
75 (void)sigaction(SIGQUIT, &OldSigQuitAction, NULL);
76 (void)sigaction(SIGINT, &OldSigIntAction, NULL);
141 if (sigaction(SIGINT, &OldSigIntAction, NULL) == -1) {
145 if (sigaction(SIGQUI
[all...]
/freebsd-head/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c174 struct sigaction sa, savealrm, saveint, savehup, savequit, saveterm;
175 struct sigaction savetstp, savettin, savettou, savepipe;
233 (void)sigaction(SIGALRM, &sa, &savealrm);
234 (void)sigaction(SIGHUP, &sa, &savehup);
235 (void)sigaction(SIGINT, &sa, &saveint);
236 (void)sigaction(SIGPIPE, &sa, &savepipe);
237 (void)sigaction(SIGQUIT, &sa, &savequit);
238 (void)sigaction(SIGTERM, &sa, &saveterm);
239 (void)sigaction(SIGTSTP, &sa, &savetstp);
240 (void)sigaction(SIGTTI
[all...]
/freebsd-head/crypto/openssl/crypto/
H A Ds390xcap.c32 struct sigaction ill_act, oact_ill, oact_fpe;
47 sigaction(SIGILL, &ill_act, &oact_ill);
48 sigaction(SIGFPE, &ill_act, &oact_fpe);
64 sigaction(SIGFPE, &oact_fpe, NULL);
65 sigaction(SIGILL, &oact_ill, NULL);
/freebsd-head/contrib/netbsd-tests/lib/libc/gen/
H A Dt_assert.c73 struct sigaction sa;
84 (void)memset(&sa, 0, sizeof(struct sigaction));
90 (void)sigaction(SIGABRT, &sa, 0);
111 struct sigaction sa;
122 (void)memset(&sa, 0, sizeof(struct sigaction));
128 (void)sigaction(SIGABRT, &sa, 0);
H A Dt_raise.c107 struct sigaction sa;
119 ATF_REQUIRE(sigaction(SIGUSR1, &sa, 0) == 0);
135 struct sigaction sa;
140 (void)memset(&sa, 0, sizeof(struct sigaction));
151 ATF_REQUIRE(sigaction(sig[i], &sa, 0) == 0);
170 struct sigaction sa;
177 ATF_REQUIRE(sigaction(SIGUSR1, &sa, 0) == 0);
/freebsd-head/contrib/xz/src/xz/
H A Dsignals.c87 struct sigaction my_sa;
102 struct sigaction old;
103 if (sigaction(sigs[i], NULL, &old) == 0
108 if (sigaction(sigs[i], &my_sa, NULL))
164 struct sigaction sa;
168 sigaction(sig, &sa, NULL);
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.gcc.c53 struct sigaction sa;
59 (void) sigaction(SIGUSR1, &sa, NULL);
/freebsd-head/contrib/tcpdump/
H A Dsetsignal.c48 * We use "sigaction()" if available. We don't specify that the signal
56 * longer be any interesting systems without "sigaction()", however,
66 * they suck far less, as those systems have "sigaction()".
72 struct sigaction old, new;
78 if (sigaction(sig, &new, &old) < 0)
/freebsd-head/contrib/ntp/sntp/libevent/
H A Devsignal-internal.h52 struct sigaction **sh_old;
/freebsd-head/contrib/libevent/
H A Devsignal-internal.h52 struct sigaction **sh_old;
/freebsd-head/contrib/kyua/utils/signals/
H A Dprogrammer.cpp57 struct ::sigaction old_sa;
86 struct ::sigaction sa;
91 if (::sigaction(_pimpl->signo, &sa, &_pimpl->old_sa) == -1) {
133 if (::sigaction(_pimpl->signo, &_pimpl->old_sa, NULL) == -1) {
/freebsd-head/crypto/heimdal/kdc/
H A Dmain.c128 struct sigaction sa;
134 sigaction(SIGINT, &sa, NULL);
135 sigaction(SIGTERM, &sa, NULL);
137 sigaction(SIGXCPU, &sa, NULL);
142 sigaction(SIGPIPE, &sa, NULL);
/freebsd-head/tools/regression/sigqueue/sigqtest1/
H A Dsigqtest1.c23 struct sigaction sa;
32 sigaction(SIGRTMIN, &sa, NULL);

Completed in 123 milliseconds

1234567891011