/freebsd-current/tools/regression/sockets/unix_sendtorace/ |
H A D | unix_sendtorace.c | 96 pid_t childpid; local 114 childpid = fork(); 115 if (childpid < 0) 118 if (childpid != 0) { 121 kill(childpid, SIGTERM); 172 pid_t childpid; local 187 childpid = fork(); 188 if (childpid < 0) 191 if (childpid != 0) { 194 kill(childpid, SIGTER [all...] |
/freebsd-current/contrib/sendmail/contrib/ |
H A D | socketmapServer.pl | 33 my $childpid = fork(); 34 if ($childpid) { 37 die "can't fork $!" unless defined($childpid);
|
/freebsd-current/contrib/openbsm/bin/praudit/ |
H A D | praudit.c | 130 pid_t childpid, pid; local 213 childpid = fork(); 214 if (childpid == 0) { 225 while ((pid = waitpid(childpid, NULL, 0)) != childpid);
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | vfork.sh | 123 childpid=`ps -lx | grep -v grep | grep vfork1 | 127 ./vfork2 $childpid
|
/freebsd-current/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-current/tools/regression/priv/ |
H A D | main.c | 483 pid_t childpid, pid; local 494 childpid = fork(); 495 if (childpid == -1) { 500 if (childpid == 0) { 508 pid = waitpid(childpid, &status, 0); 513 if (pid == childpid) {
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | work_fork.c | 449 int childpid; local 513 childpid = fork(); 514 if (-1 == childpid) { 519 if (childpid) { 521 TRACE(1, ("forked worker child (pid %d)\n", childpid)); 522 c->pid = childpid;
|
/freebsd-current/libexec/rc/tests/ |
H A D | rc_subr_test.sh | 40 __childpidfile="$(mktemp -t "${__name}.childpid")"
|
/freebsd-current/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-current/usr.sbin/cron/cron/ |
H A D | do_command.c | 642 wait_on_child(PID_T childpid, const char *name) argument 648 getpid(), name, childpid)) 651 while ((pid = waitpid(childpid, &waiter, 0)) < 0 && errno == EINTR) 653 while ((pid = wait4(childpid, &waiter, 0, NULL)) < 0 && errno == EINTR)
|
/freebsd-current/usr.bin/rpcgen/ |
H A D | rpc_util.h | 144 extern pid_t childpid;
|
H A D | rpc_scan.c | 159 waitpid(childpid, &stat, WUNTRACED);
|
H A D | rpc_main.c | 120 pid_t childpid; variable 389 switch (childpid = fork()) {
|
/freebsd-current/contrib/openbsm/bin/auditreduce/ |
H A D | auditreduce.c | 651 pid_t childpid, pid; local 855 childpid = fork(); 856 if (childpid == 0) { 868 while ((pid = waitpid(childpid, &status, 0)) != childpid);
|