/freebsd-11.0-release/contrib/tcpdump/ |
H A D | setsignal.c | 76 if (sig == SIGCHLD)
|
/freebsd-11.0-release/contrib/dialog/ |
H A D | prgbox.c | 105 void (*oldreaper) (int) = signal(SIGCHLD, reapchild); 114 signal(SIGCHLD, oldreaper);
|
/freebsd-11.0-release/tools/test/pthread_vfork/ |
H A D | pthread_vfork_test.c | 84 if (sigaction(SIGCHLD, &reapchildren, NULL) == -1) 85 err(1, "Could not sigaction(SIGCHLD)"); 88 sigaddset(&sigchld_mask, SIGCHLD);
|
/freebsd-11.0-release/contrib/tcsh/ |
H A D | tc.sig.h | 39 # ifndef SIGCHLD 40 # define SIGCHLD SIGCLD macro 41 # endif /* SIGCHLD */ 73 # define signal(a, b) signal((a), (a) == SIGCHLD ? SIG_IGN : (b))
|
/freebsd-11.0-release/contrib/sendmail/libsm/ |
H A D | signal.c | 275 mask |= sigmask(SIGCHLD); 290 (void) sigset(SIGCHLD, SIG_HOLD); 299 (void) sigset(SIGCHLD, SIG_DFL); 310 (void) sigaddset(&sset, SIGCHLD);
|
/freebsd-11.0-release/cddl/lib/libdtrace/ |
H A D | signal.d | 65 inline int SIGCHLD = 20; 66 #pragma D binding "1.0" SIGCHLD
|
/freebsd-11.0-release/lib/libulog/ |
H A D | ulog_login_pseudo.c | 52 /* Block SIGCHLD. */ 54 sigaddset(&nblock, SIGCHLD);
|
/freebsd-11.0-release/contrib/libreadline/examples/rlfe/ |
H A D | pty.c | 200 * 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.0-release/bin/sh/ |
H A D | trap.c | 82 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.0-release/crypto/openssh/ |
H A D | readpass.c | 68 osigchld = signal(SIGCHLD, SIG_DFL); 71 signal(SIGCHLD, osigchld); 100 signal(SIGCHLD, osigchld);
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_clone.c | 177 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 D | t_select.c | 152 signal(SIGCHLD, sigchld); 192 signal(SIGCHLD, sigchld);
|
/freebsd-11.0-release/usr.sbin/daemon/ |
H A D | daemon.c | 142 * get SIGCHLD eventually. 155 * Because SIGCHLD is ignored by default, setup dummy handler 158 if (signal(SIGCHLD, dummy_sighandler) == SIG_ERR) { 167 sigaddset(&mask, SIGCHLD); 255 case SIGCHLD:
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/ttyio/ |
H A D | t_ttyio.c | 138 REQUIRE_ERRNO(sigaction(SIGCHLD, &sa, NULL), -1); 152 REQUIRE_ERRNO(sigaction(SIGCHLD, &sa, NULL), -1);
|
/freebsd-11.0-release/contrib/netbsd-tests/net/carp/ |
H A D | t_basic.c | 63 ATF_REQUIRE_EQ(sig, SIGCHLD); 145 signal(SIGCHLD, sighnd);
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/common/ |
H A D | fstest_ffs.c | 69 sigaction(SIGCHLD, &act, &oact); 71 sigaction(SIGCHLD, &oact, NULL);
|
H A D | fstest_udf.c | 72 sigaction(SIGCHLD, &act, &oact); 74 sigaction(SIGCHLD, &oact, NULL);
|
/freebsd-11.0-release/contrib/netbsd-tests/fs/fifofs/ |
H A D | t_fifo.c | 80 if (signo == SIGCHLD) { 106 if (sigaction(SIGCHLD, &action, NULL) == -1)
|
/freebsd-11.0-release/contrib/apr/threadproc/unix/ |
H A D | signals.c | 90 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.0-release/lib/libc/stdlib/ |
H A D | system.c | 70 (void)sigaddset(&newsigblock, SIGCHLD);
|
/freebsd-11.0-release/contrib/gdb/gdb/signals/ |
H A D | signals.c | 75 {"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.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 106 old_signal = signal(SIGCHLD, SIG_DFL); 109 signal(SIGCHLD, old_signal);
|
/freebsd-11.0-release/contrib/amd/amd/ |
H A D | sched.c | 130 sigaddset(&new, SIGCHLD); /* only block on SIGCHLD */ 133 mask = sigblock(sigmask(SIGCHLD)); 222 * This must be called with SIGCHLD disabled
|
/freebsd-11.0-release/contrib/dma/ |
H A D | local.c | 64 * We need to enable SIGCHLD temporarily so that waitpid works. 68 sigaction(SIGCHLD, &sa, &osa); 120 sigaction(SIGCHLD, &osa, NULL);
|
/freebsd-11.0-release/usr.bin/sdiff/ |
H A D | edit.c | 52 sigchld = signal(SIGCHLD, SIG_DFL); 72 (void)signal(SIGCHLD, sigchld);
|