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

/freebsd-10.2-release/tools/regression/netipx/spxloopback/
H A Dspxloopback.c133 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 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-10.2-release/contrib/sendmail/contrib/
H A DsocketmapServer.pl33 my $childpid = fork();
34 if ($childpid) {
37 die "can't fork $!" unless defined($childpid);
/freebsd-10.2-release/usr.bin/truss/
H A Dmain.c176 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 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-10.2-release/contrib/ntp/libntp/
H A Dwork_fork.c410 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 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-10.2-release/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-10.2-release/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.c135 pid_t childpid; variable
321 switch (childpid = fork()) {
/freebsd-10.2-release/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-10.2-release/usr.sbin/syslogd/
H A Dsyslogd.c2124 pid_t pid, childpid; local
2126 switch (childpid = fork()) {
2143 if (pid == childpid) /* it's gone... */

Completed in 198 milliseconds