/freebsd-10.2-release/tools/regression/netipx/spxloopback/ |
H A D | spxloopback.c | 133 pid_t childpid, parentpid; local 156 childpid = fork(); 157 if (childpid < 0) 160 if (childpid == 0) { 189 (void)kill(childpid, SIGTERM); 202 (void)kill(childpid, SIGTERM); 207 my_send(sock_send, "connector", childpid); 208 my_recv(sock_send, "connector", childpid); 216 (void)kill(childpid, SIGTERM); 226 my_sendto(sock_send, "connector", childpid, [all...] |
/freebsd-10.2-release/tools/regression/sockets/unix_sendtorace/ |
H A D | unix_sendtorace.c | 98 pid_t childpid; local 116 childpid = fork(); 117 if (childpid < 0) 120 if (childpid != 0) { 123 kill(childpid, SIGTERM); 174 pid_t childpid; local 189 childpid = fork(); 190 if (childpid < 0) 193 if (childpid != 0) { 196 kill(childpid, SIGTER [all...] |
/freebsd-10.2-release/contrib/sendmail/contrib/ |
H A D | socketmapServer.pl | 33 my $childpid = fork(); 34 if ($childpid) { 37 die "can't fork $!" unless defined($childpid);
|
/freebsd-10.2-release/usr.bin/truss/ |
H A D | main.c | 176 pid_t childpid; local 305 childpid = funcs->exit_syscall(trussinfo, 314 trussinfo->pid = childpid; 378 childpid = wait(&status); 379 } while (childpid != -1);
|
/freebsd-10.2-release/sbin/dump/ |
H A D | tape.c | 508 int childpid; local 522 childpid = fork(); 523 if (childpid < 0) { 527 if (childpid != 0) { 537 tapeno+1, parentpid, childpid); 539 if (waitpid(childpid, &status, 0) == -1) 540 msg("Waiting for child %d: %s\n", childpid, 544 childpid, status&0xFF); 550 msg("Child %d finishes X_FINOK\n", childpid); 553 msg("Child %d finishes X_ABORT\n", childpid); [all...] |
/freebsd-10.2-release/contrib/ntp/libntp/ |
H A D | work_fork.c | 410 int childpid; local 474 childpid = fork(); 475 if (-1 == childpid) { 480 if (childpid) { 482 TRACE(1, ("forked worker child (pid %d)\n", childpid)); 483 c->pid = childpid;
|
/freebsd-10.2-release/tools/regression/priv/ |
H A D | main.c | 485 pid_t childpid, pid; local 496 childpid = fork(); 497 if (childpid == -1) { 502 if (childpid == 0) { 510 pid = waitpid(childpid, &status, 0); 515 if (pid == childpid) {
|
/freebsd-10.2-release/contrib/netbsd-tests/fs/common/ |
H A D | fstest_nfs.c | 82 pid_t childpid; local 109 switch ((childpid = fork())) { 152 args->ta_childpid = childpid;
|
H A D | fstest_puffs.c | 250 pid_t childpid; local 273 switch ((childpid = fork())) { 316 args->pta_childpid = childpid;
|
/freebsd-10.2-release/usr.bin/rpcgen/ |
H A D | rpc_util.h | 149 extern pid_t childpid;
|
H A D | rpc_scan.c | 169 waitpid(childpid, &stat, WUNTRACED);
|
H A D | rpc_main.c | 135 pid_t childpid; variable 321 switch (childpid = fork()) {
|
/freebsd-10.2-release/contrib/gdb/gdb/ |
H A D | infttrace.c | 3370 hpux_has_forked (int tid, int *childpid) 3401 *childpid = ttrace_state.tts_u.tts_fork.tts_fpid; 3411 hpux_has_vforked (int tid, int *childpid) 3440 *childpid = ttrace_state.tts_u.tts_fork.tts_fpid; 3356 hpux_has_forked(int tid, int *childpid) argument 3397 hpux_has_vforked(int tid, int *childpid) argument
|
/freebsd-10.2-release/usr.sbin/syslogd/ |
H A D | syslogd.c | 2124 pid_t pid, childpid; local 2126 switch (childpid = fork()) { 2143 if (pid == childpid) /* it's gone... */
|