Searched refs:sigaction (Results 151 - 175 of 248) sorted by relevance

12345678910

/freebsd-10-stable/lib/libutil/
H A Dlogin_class.c429 struct sigaction sa, prevsa;
529 sigaction(SIGSYS, &sa, &prevsa);
531 sigaction(SIGSYS, &prevsa, NULL);
/freebsd-10-stable/lib/libc/tests/gen/
H A Dwordexp_test.c276 struct sigaction sa;
284 r = sigaction(SIGCHLD, &sa, NULL);
294 r = sigaction(SIGCHLD, &sa, NULL);
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/plockstat/
H A Dplockstat.c783 struct sigaction act;
978 (void) sigaction(SIGINT, &act, NULL);
979 (void) sigaction(SIGTERM, &act, NULL);
/freebsd-10-stable/tests/sys/posixshm/
H A Dposixshm_test.c502 struct sigaction sa;
555 ATF_REQUIRE_MSG(sigaction(SIGUSR1, &sa, (struct sigaction *)0) == 0,
556 "sigaction failed; errno=%d", errno);
/freebsd-10-stable/contrib/amd/amd/
H A Dinfo_ldap.c198 struct sigaction sa;
210 sigaction(SIGPIPE, &sa, &sa); /* set IGNORE, and get old action */
220 sigaction(SIGPIPE, &sa, NULL);
/freebsd-10-stable/contrib/tcsh/
H A Dsh.c86 struct sigaction parintr; /* Parents interrupt catch */
87 struct sigaction parterm; /* Parents terminate catch */
253 struct sigaction oparintr;
853 sigaction(SIGINT, NULL, &parintr);
854 sigaction(SIGTERM, NULL, &parterm);
1149 struct sigaction osig;
1169 sigaction(SIGHUP, NULL, &osig);
1174 sigaction(SIGXCPU, NULL, &osig);
1180 sigaction(SIGXFSZ, NULL, &osig);
1297 * handler is installed with signal(2) or sigset(2). sigaction(
[all...]
/freebsd-10-stable/usr.sbin/apmd/
H A Dapmd.c580 struct sigaction nsa;
595 sigaction(SIGHUP, &nsa, NULL);
596 sigaction(SIGCHLD, &nsa, NULL);
597 sigaction(SIGTERM, &nsa, NULL);
/freebsd-10-stable/contrib/ntp/ntpd/
H A Dntp_loopfilter.c184 static struct sigaction sigsys; /* current sigaction status */
185 static struct sigaction newsigsys; /* new sigaction status */
1118 if (sigaction(SIGSYS, &newsigsys, &sigsys)) {
1119 msyslog(LOG_ERR, "sigaction() trap SIGSYS: %m");
1127 if (sigaction(SIGSYS, &sigsys, NULL)) {
1129 "sigaction() restore SIGSYS: %m");
/freebsd-10-stable/contrib/libarchive/tar/
H A Dbsdtar.c182 struct sigaction sa;
187 if (sigaction(SIGINFO, &sa, NULL))
188 lafe_errc(1, errno, "sigaction(SIGINFO) failed");
192 if (sigaction(SIGUSR1, &sa, NULL))
193 lafe_errc(1, errno, "sigaction(SIGUSR1) failed");
198 sigaction(SIGPIPE, &sa, NULL);
/freebsd-10-stable/contrib/tnftp/src/
H A Dprogressbar.c421 #ifdef ultrix /* XXX: this is lame - how do we test sigvec vs. sigaction? */
431 struct sigaction act, oact;
442 if (sigaction(sig, &act, &oact) < 0)
/freebsd-10-stable/crypto/openssl/apps/
H A Ddsaparam.c291 struct sigaction act;
297 if (sigaction(SIGALRM, &act, NULL) != 0) {
/freebsd-10-stable/usr.sbin/autofs/
H A Dautomountd.c380 struct sigaction sa;
386 error = sigaction(SIGCHLD, &sa, NULL);
388 log_err(1, "sigaction");
/freebsd-10-stable/usr.bin/xlint/llib/
H A Dllib-lposix237 int (sigaction)(int sig, const struct sigaction *act,
238 struct sigaction *oact);
/freebsd-10-stable/tests/sys/fifo/
H A Dfifo_io.c318 struct sigaction act, oact;
325 if (sigaction(SIGALRM, &act, &oact) < 0) {
326 warn("%s: timed_write: sigaction", testname);
333 if (sigaction(SIGALRM, &oact, NULL) < 0) {
334 warn("%s: timed_write: sigaction", testname);
358 struct sigaction act, oact;
365 if (sigaction(SIGALRM, &act, &oact) < 0) {
366 warn("%s: timed_write: sigaction", testname);
373 if (sigaction(SIGALRM, &oact, NULL) < 0) {
374 warn("%s: timed_write: sigaction", testnam
[all...]
/freebsd-10-stable/contrib/diff/src/
H A Dsdiff.c91 /* Prefer `sigaction' if available, since `signal' can lose signals. */
92 static struct sigaction initial_action[NUM_SIGS];
780 static struct sigaction catchaction;
786 sigaction (sig, &catchaction, 0);
805 sigaction (sigs[i], 0, &initial_action[i]);
832 sigaction (sigs[i], &initial_action[i], 0);
/freebsd-10-stable/contrib/gdb/gdb/
H A Dremote-fileio.c434 static struct sigaction remote_fio_sa;
435 static struct sigaction remote_fio_osa;
447 sigaction (SIGINT, &remote_fio_sa, &remote_fio_osa);
460 sigaction (SIGINT, &remote_fio_sa, NULL);
470 sigaction (SIGINT, &remote_fio_osa, NULL);
H A Dremote-sim.c676 struct sigaction sa, osa;
680 sigaction (SIGINT, &sa, &osa);
/freebsd-10-stable/gnu/usr.bin/rcs/lib/
H A Drcsutil.c623 struct sigaction act;
626 check_sig(sigaction(sig[i], (struct sigaction*)0, &act));
641 if (sigaction(sig[i], &act, (struct sigaction*)0) != 0) {
/freebsd-10-stable/usr.bin/at/
H A Dat.c215 struct sigaction act;
232 sigaction(SIGINT, &act, NULL);
257 sigaction(SIGALRM, &act, NULL);
/freebsd-10-stable/usr.sbin/inetd/
H A Dbuiltins.c744 struct sigaction sa;
749 sigaction(SIGALRM, &sa, (struct sigaction *)0);
/freebsd-10-stable/contrib/bmake/
H A Dutil.c382 struct sigaction sa, osa;
388 if (sigaction(s, &sa, &osa) == -1)
/freebsd-10-stable/contrib/libreadline/examples/rlfe/
H A Drlfe.c377 struct sigaction act;
433 if (sigaction(SIGWINCH, &act, NULL) < 0)
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dlogin.c574 struct sigaction sa;
636 sigaction(SIGALRM, &sa, NULL);
/freebsd-10-stable/lib/libkse/
H A Dkse.map142 sigaction;
/freebsd-10-stable/usr.sbin/ngctl/
H A Dmain.c243 struct sigaction act;
249 sigaction(SIGUSR1, &act, NULL);

Completed in 145 milliseconds

12345678910