Searched refs:childpid (Results 1 - 13 of 13) sorted by relevance
/freebsd-11-stable/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-11-stable/contrib/sendmail/contrib/ |
H A D | socketmapServer.pl | 33 my $childpid = fork(); 34 if ($childpid) { 37 die "can't fork $!" unless defined($childpid);
|
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/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 | 129 pid_t childpid; variable 304 switch (childpid = fork()) {
|
/freebsd-11-stable/usr.sbin/cron/cron/ |
H A D | do_command.c | 595 wait_on_child(PID_T childpid, const char *name) { argument 600 getpid(), name, childpid)) 603 while ((pid = waitpid(childpid, &waiter, 0)) < 0 && errno == EINTR) 605 while ((pid = wait4(childpid, &waiter, 0, NULL)) < 0 && errno == EINTR)
|
/freebsd-11-stable/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-11-stable/usr.sbin/syslogd/ |
H A D | syslogd.c | 3196 pid_t pid, childpid; local 3198 switch (childpid = fork()) { 3215 if (pid == childpid) /* it's gone... */
|
Completed in 319 milliseconds