Searched refs:childpid (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c98 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 DsocketmapServer.pl33 my $childpid = fork();
34 if ($childpid) {
37 die "can't fork $!" unless defined($childpid);
/freebsd-11-stable/sbin/dump/
H A Dtape.c508 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 Dmain.c485 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 Dwork_fork.c449 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 Dfstest_nfs.c82 pid_t childpid; local
109 switch ((childpid = fork())) {
152 args->ta_childpid = childpid;
H A Dfstest_puffs.c250 pid_t childpid; local
273 switch ((childpid = fork())) {
316 args->pta_childpid = childpid;
/freebsd-11-stable/usr.bin/rpcgen/
H A Drpc_util.h149 extern pid_t childpid;
H A Drpc_scan.c169 waitpid(childpid, &stat, WUNTRACED);
H A Drpc_main.c129 pid_t childpid; variable
304 switch (childpid = fork()) {
/freebsd-11-stable/usr.sbin/cron/cron/
H A Ddo_command.c595 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 Dinfttrace.c3370 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 Dsyslogd.c3196 pid_t pid, childpid; local
3198 switch (childpid = fork()) {
3215 if (pid == childpid) /* it's gone... */

Completed in 319 milliseconds