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

/freebsd-9.3-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-9.3-release/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c97 pid_t childpid; local
115 childpid = fork();
116 if (childpid < 0)
119 if (childpid != 0) {
122 kill(childpid, SIGTERM);
173 pid_t childpid; local
188 childpid = fork();
189 if (childpid < 0)
192 if (childpid != 0) {
195 kill(childpid, SIGTER
[all...]
/freebsd-9.3-release/libexec/lukemftpd/
H A Dnbsd_pidfile.h10 pid_t otherpid, childpid; local
/freebsd-9.3-release/contrib/sendmail/contrib/
H A DsocketmapServer.pl33 my $childpid = fork();
34 if ($childpid) {
37 die "can't fork $!" unless defined($childpid);
/freebsd-9.3-release/usr.bin/truss/
H A Dmain.c173 pid_t childpid; local
305 childpid = funcs->exit_syscall(trussinfo,
314 trussinfo->pid = childpid;
378 childpid = wait(&status);
379 } while (childpid != -1);
/freebsd-9.3-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-9.3-release/tools/regression/priv/
H A Dmain.c470 pid_t childpid, pid; local
481 childpid = fork();
482 if (childpid == -1) {
487 if (childpid == 0) {
494 pid = waitpid(childpid, NULL, 0);
497 if (pid == childpid)
/freebsd-9.3-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-9.3-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.c139 pid_t childpid; variable
325 switch (childpid = fork()) {
/freebsd-9.3-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-9.3-release/usr.sbin/syslogd/
H A Dsyslogd.c2122 pid_t pid, childpid; local
2124 switch (childpid = fork()) {
2141 if (pid == childpid) /* it's gone... */

Completed in 115 milliseconds