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

1234567

/freebsd-11-stable/contrib/tcpdump/
H A Dsetsignal.c76 if (sig == SIGCHLD)
/freebsd-11-stable/contrib/dialog/
H A Dprgbox.c105 void (*oldreaper) (int) = signal(SIGCHLD, reapchild);
114 signal(SIGCHLD, oldreaper);
/freebsd-11-stable/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-11-stable/contrib/tcsh/
H A Dtc.sig.h38 # ifndef SIGCHLD
39 # define SIGCHLD SIGCLD macro
40 # endif /* SIGCHLD */
72 # define signal(a, b) signal((a), (a) == SIGCHLD ? SIG_IGN : (b))
/freebsd-11-stable/lib/libulog/
H A Dulog_login_pseudo.c52 /* Block SIGCHLD. */
54 sigaddset(&nblock, SIGCHLD);
/freebsd-11-stable/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-11-stable/cddl/lib/libdtrace/
H A Dsignal.d66 inline int SIGCHLD = 20;
67 #pragma D binding "1.0" SIGCHLD
116 signal == SIGCHLD ? "SIGCHLD" :
153 strjoin("unknown SIGCHLD code (", strjoin(lltostr(child_signal), ")"));
/freebsd-11-stable/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-11-stable/bin/sh/
H A Dtrap.c82 static int ignore_sigchld; /* Used while handling SIGCHLD traps. */
371 return (trap[SIGCHLD] != NULL && *trap[SIGCHLD] != '\0');
400 (signo != SIGCHLD || !ignore_sigchld)) {
428 * Ignore SIGCHLD to avoid infinite
432 if (i == SIGCHLD)
467 if (i == SIGCHLD)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_clone.c177 CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|SIGCHLD, NULL);
206 CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|SIGCHLD, NULL);
237 CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|SIGCHLD, (void *)&rl);
H A Dt_select.c145 signal(SIGCHLD, sigchld);
186 signal(SIGCHLD, sigchld);
/freebsd-11-stable/crypto/openssh/
H A Dreadpass.c68 osigchld = signal(SIGCHLD, SIG_DFL);
71 signal(SIGCHLD, osigchld);
100 signal(SIGCHLD, osigchld);
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_ffs.c69 sigaction(SIGCHLD, &act, &oact);
71 sigaction(SIGCHLD, &oact, NULL);
H A Dfstest_udf.c72 sigaction(SIGCHLD, &act, &oact);
74 sigaction(SIGCHLD, &oact, NULL);
/freebsd-11-stable/contrib/netbsd-tests/fs/fifofs/
H A Dt_fifo.c81 if (signo == SIGCHLD) {
107 if (sigaction(SIGCHLD, &action, NULL) == -1)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ttyio.c138 REQUIRE_ERRNO(sigaction(SIGCHLD, &sa, NULL), -1);
152 REQUIRE_ERRNO(sigaction(SIGCHLD, &sa, NULL), -1);
/freebsd-11-stable/lib/libc/stdlib/
H A Dsystem.c70 (void)sigaddset(&newsigblock, SIGCHLD);
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dsignals.c90 if ((signo == SIGCHLD) && (func == SIG_IGN)) {
95 /* ignoring SIGCHLD or leaving the default disposition doesn't avoid zombies,
99 if ((signo == SIGCHLD) && (func == SIG_IGN)) {
211 #ifdef SIGCHLD
212 store_desc(SIGCHLD, "Child status change");
/freebsd-11-stable/lib/libsysdecode/
H A Dsignal.c55 [SIGCHLD] = "SIGCHLD",
/freebsd-11-stable/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-11-stable/contrib/dma/
H A Dlocal.c64 * We need to enable SIGCHLD temporarily so that waitpid works.
68 sigaction(SIGCHLD, &sa, &osa);
120 sigaction(SIGCHLD, &osa, NULL);
/freebsd-11-stable/contrib/amd/amd/
H A Dsched.c126 sigaddset(&new, SIGCHLD); /* only block on SIGCHLD */
129 mask = sigblock(sigmask(SIGCHLD));
218 * This must be called with SIGCHLD disabled
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c106 old_signal = signal(SIGCHLD, SIG_DFL);
109 signal(SIGCHLD, old_signal);
/freebsd-11-stable/usr.bin/sdiff/
H A Dedit.c58 sigchld = signal(SIGCHLD, SIG_DFL);
78 (void)signal(SIGCHLD, sigchld);
/freebsd-11-stable/usr.sbin/rpc.ypupdated/
H A Dypupdated_main.c172 if (sig == SIGCHLD) {
278 (void) signal(SIGCHLD, (SIG_PF) reaper);

Completed in 193 milliseconds

1234567