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

/freebsd-current/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c96 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 DsocketmapServer.pl33 my $childpid = fork();
34 if ($childpid) {
37 die "can't fork $!" unless defined($childpid);
/freebsd-current/contrib/openbsm/bin/praudit/
H A Dpraudit.c130 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 Dvfork.sh123 childpid=`ps -lx | grep -v grep | grep vfork1 |
127 ./vfork2 $childpid
/freebsd-current/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-current/tools/regression/priv/
H A Dmain.c483 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 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-current/libexec/rc/tests/
H A Drc_subr_test.sh40 __childpidfile="$(mktemp -t "${__name}.childpid")"
/freebsd-current/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-current/usr.sbin/cron/cron/
H A Ddo_command.c642 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 Drpc_util.h144 extern pid_t childpid;
H A Drpc_scan.c159 waitpid(childpid, &stat, WUNTRACED);
H A Drpc_main.c120 pid_t childpid; variable
389 switch (childpid = fork()) {
/freebsd-current/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c651 pid_t childpid, pid; local
855 childpid = fork();
856 if (childpid == 0) {
868 while ((pid = waitpid(childpid, &status, 0)) != childpid);

Completed in 126 milliseconds