Searched refs:SIGCHLD (Results 1 - 25 of 146) sorted by relevance

123456

/freebsd-9.3-release/contrib/texinfo/info/
H A Dsignals.h29 #if !defined (SIGCHLD) && defined (SIGCLD)
30 #define SIGCHLD SIGCLD macro
/freebsd-9.3-release/tools/test/pthread_vfork/
H A Dpthread_vfork_test.c84 if (sigaction(SIGCHLD, &reapchildren, NULL) == -1)
85 err(1, "Could not sigaction(SIGCHLD)");
88 sigaddset(&sigchld_mask, SIGCHLD);
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.sig.h39 # ifndef SIGCHLD
40 # define SIGCHLD SIGCLD macro
41 # endif /* SIGCHLD */
73 # define signal(a, b) signal((a), (a) == SIGCHLD ? SIG_IGN : (b))
/freebsd-9.3-release/cddl/lib/libdtrace/
H A Dsignal.d65 inline int SIGCHLD = 20;
66 #pragma D binding "1.0" SIGCHLD
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dsignal.c275 mask |= sigmask(SIGCHLD);
290 (void) sigset(SIGCHLD, SIG_HOLD);
299 (void) sigset(SIGCHLD, SIG_DFL);
310 (void) sigaddset(&sset, SIGCHLD);
/freebsd-9.3-release/lib/libulog/
H A Dulog_login_pseudo.c52 /* Block SIGCHLD. */
54 sigaddset(&nblock, SIGCHLD);
/freebsd-9.3-release/contrib/libreadline/examples/rlfe/
H A Dpty.c200 * SIGCHLD set to SIG_DFL for _getpty() because it may fork() and
203 sigcld = signal(SIGCHLD, SIG_DFL);
205 signal(SIGCHLD, sigcld);
266 * SIGCHLD set to SIG_DFL for grantpt() because it fork()s and
269 sigcld = signal(SIGCHLD, SIG_DFL);
272 signal(SIGCHLD, sigcld);
276 signal(SIGCHLD, sigcld);
/freebsd-9.3-release/crypto/openssh/
H A Dreadpass.c68 osigchld = signal(SIGCHLD, SIG_DFL);
71 signal(SIGCHLD, osigchld);
100 signal(SIGCHLD, osigchld);
H A Dsandbox-systrace.c90 box->osigchld = signal(SIGCHLD, SIG_IGN);
99 signal(SIGCHLD, box->osigchld);
118 signal(SIGCHLD, box->osigchld);
/freebsd-9.3-release/usr.sbin/daemon/
H A Ddaemon.c139 * get SIGCHLD eventually.
152 * Because SIGCHLD is ignored by default, setup dummy handler
155 if (signal(SIGCHLD, dummy_sighandler) == SIG_ERR) {
164 sigaddset(&mask, SIGCHLD);
249 case SIGCHLD:
/freebsd-9.3-release/lib/libc/stdlib/
H A Dsystem.c60 * Ignore SIGINT and SIGQUIT, block SIGCHLD. Remember to save
69 (void)sigaddset(&newsigblock, SIGCHLD);
/freebsd-9.3-release/contrib/gdb/gdb/signals/
H A Dsignals.c75 {"SIGCHLD", "Child status changed"},
247 /* It's possible we also should allow "SIGCLD" as well as "SIGCHLD"
349 #if defined (SIGCHLD)
350 if (hostsig == SIGCHLD)
598 #if defined (SIGCHLD) || defined (SIGCLD)
600 #if defined (SIGCHLD)
601 return SIGCHLD;
605 #endif /* SIGCLD or SIGCHLD */
/freebsd-9.3-release/contrib/amd/amd/
H A Dsched.c130 sigaddset(&new, SIGCHLD); /* only block on SIGCHLD */
133 mask = sigblock(sigmask(SIGCHLD));
222 * This must be called with SIGCHLD disabled
H A Damd.c476 * SIGCHLD: trap Death-of-a-child. These allow us to pick up the exit
479 setup_sighandler(SIGCHLD, sigchld);
486 sigaddset(&masked_sigs, SIGCHLD);
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c106 old_signal = signal(SIGCHLD, SIG_DFL);
109 signal(SIGCHLD, old_signal);
/freebsd-9.3-release/usr.sbin/rpc.ypupdated/
H A Dypupdated_main.c170 if (sig == SIGCHLD) {
276 (void) signal(SIGCHLD, (SIG_PF) reaper);
/freebsd-9.3-release/tools/regression/sigqueue/sigqtest2/
H A Dsigqtest2.c49 sigaction(SIGCHLD, &sa, NULL);
/freebsd-9.3-release/bin/sh/
H A Dtrap.c81 static int ignore_sigchld; /* Used while handling SIGCHLD traps. */
383 if (signo != SIGCHLD || !ignore_sigchld)
424 * Ignore SIGCHLD to avoid infinite
428 if (i == SIGCHLD)
460 if (i == SIGCHLD)
/freebsd-9.3-release/contrib/amd/hlfsd/
H A Dhlfsd.c446 sigaddset(&(sa.sa_mask), SIGCHLD);
447 sigaction(SIGCHLD, &sa, NULL);
449 signal(SIGCHLD, reaper);
715 * SIGCHLD: interlock synchronization and testing
721 sigaddset(&(sa.sa_mask), SIGCHLD);
722 sigaction(SIGCHLD, &sa, NULL);
724 signal(SIGCHLD, interlock);
/freebsd-9.3-release/contrib/openbsm/bin/auditd/
H A Dauditd_fbsd.c269 if (signal == SIGCHLD)
/freebsd-9.3-release/sys/sys/
H A Drctl.h115 #define RCTL_ACTION_SIGCHLD SIGCHLD
/freebsd-9.3-release/usr.bin/rlogin/
H A Drlogin.c305 (void)signal(SIGCHLD, catch_child);
330 (void)signal(SIGCHLD, SIG_DFL);
461 (void)signal(SIGCHLD, SIG_IGN);
463 (void)signal(SIGCHLD, catch_child);
/freebsd-9.3-release/usr.bin/tip/tip/
H A Dcu.c150 signal(SIGCHLD, SIG_DFL);
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dstrsignal.c136 /* Put SIGCLD before SIGCHLD, so that if SIGCLD==SIGCHLD then SIGCHLD
137 overrides SIGCLD. SIGCHLD is in POXIX.1 */
141 #if defined (SIGCHLD)
142 ENTRY(SIGCHLD, "SIGCHLD", "Child status changed"),
/freebsd-9.3-release/contrib/diff/src/
H A Dsystem.h224 #if !defined SIGCHLD && defined SIGCLD
225 # define SIGCHLD SIGCLD macro

Completed in 397 milliseconds

123456