HomeSort by: relevance | last modified time | path
    Searched defs:child_pid (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
attach-non-pgrp-leader.c 22 pid_t child_pid; variable
34 child_pid = fork ();
35 if (child_pid == -1)
interrupt-daemon-attach.c 22 pid_t child_pid; variable
35 child_pid = fork ();
37 switch (child_pid)
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
attach-non-pgrp-leader.c 22 pid_t child_pid; variable
34 child_pid = fork ();
35 if (child_pid == -1)
interrupt-daemon-attach.c 22 pid_t child_pid; variable
35 child_pid = fork ();
37 switch (child_pid)
  /src/lib/libwrap/
shell_cmd.c 48 int child_pid; local
56 switch (child_pid = fork()) {
64 while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid)
  /src/sys/compat/common/
kern_exit_43.c 89 int error, status, child_pid = WAIT_ANY; local
93 error = do_sys_wait(&child_pid, &status, 0, NULL);
95 error = do_sys_wait(&child_pid, &status,
99 error = do_sys_wait(&child_pid, &status, 0, NULL);
101 retval[0] = child_pid;
  /src/external/gpl2/xcvs/dist/src/
rsh-client.c 48 int child_pid; local
121 child_pid = popenRW (rsh_argv, pipes);
122 if (child_pid < 0)
126 make_bufs_from_fds (pipes[0], pipes[1], child_pid, to_server_p,
145 int child_pid; local
194 child_pid = piped_child (argv, &tofd, &fromfd, true);
196 if (child_pid < 0)
201 make_bufs_from_fds (tofd, fromfd, child_pid, root, to_server_p,
release.c 59 setup_update_command (pid_t *child_pid)
85 *child_pid = run_piped (&tofd, &fromfd);
86 if (*child_pid < 0)
97 close_update_command (FILE *fp, pid_t child_pid)
103 w = waitpid (child_pid, &status, 0);
106 error (1, errno, "waiting for process %d", child_pid);
240 pid_t child_pid; local
248 fp = setup_update_command (&child_pid);
271 status = close_update_command (fp, child_pid);
buffer.c 1735 pid_t child_pid; member in struct:fd_buffer
1753 fd_buffer_initialize (int fd, pid_t child_pid, cvsroot_t *root, bool input,
1760 n->child_pid = child_pid;
2173 if (fb->child_pid)
2178 w = waitpid (fb->child_pid, NULL, 0);
2181 error (1, errno, "waiting for process %d", fb->child_pid);
  /src/external/gpl3/gdb.old/dist/gdb/nat/
linux-ptrace.c 270 int child_pid; local
283 child_pid = __clone2 (function, child_stack, STACK_SIZE,
286 child_pid = clone (function, child_stack + STACK_SIZE,
290 child_pid = fork ();
292 if (child_pid == 0)
296 if (child_pid == -1)
299 return child_pid;
317 static void linux_test_for_exitkill (int child_pid);
324 int child_pid, ret, status; local
340 child_pid = linux_fork_to_function (NULL, linux_child_function)
    [all...]
  /src/external/gpl3/gdb/dist/gdb/nat/
linux-ptrace.c 274 int child_pid; local
287 child_pid = __clone2 (function, child_stack, STACK_SIZE,
290 child_pid = clone (function, child_stack + STACK_SIZE,
294 child_pid = fork ();
296 if (child_pid == 0)
300 if (child_pid == -1)
303 return child_pid;
321 static void linux_test_for_exitkill (int child_pid);
328 int child_pid, ret, status; local
344 child_pid = linux_fork_to_function (NULL, linux_child_function)
    [all...]
  /src/dist/pf/sbin/pflogd/
privsep.c 59 static volatile pid_t child_pid = -1; variable
94 child_pid = fork();
95 if (child_pid < 0)
98 if (!child_pid) {
311 if (child_pid != -1)
312 kill(child_pid, sig);
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_misc.c 337 static int child_pid; variable
355 kill(child_pid, SIGKILL);
456 child_pid = pid;
471 if (child_pid == -1)
473 while ((pid = wait(&status)) != child_pid && pid != -1);
  /src/external/gpl3/gcc/dist/libcc1/
gdbctx.hh 216 pid_t child_pid = fork (); local
218 if (child_pid == -1)
227 if (child_pid == 0)
257 if (waitpid (child_pid, &status, 0) == -1)
  /src/external/gpl3/gcc.old/dist/libcc1/
gdbctx.hh 216 pid_t child_pid = fork (); local
218 if (child_pid == -1)
227 if (child_pid == 0)
257 if (waitpid (child_pid, &status, 0) == -1)
  /src/external/mit/libuv/dist/test/
test-fork.c 81 static void assert_wait_child(pid_t child_pid) {
85 waited_pid = waitpid(child_pid, &child_stat, 0);
90 ASSERT_EQ(child_pid, waited_pid);
104 pid_t child_pid; local
108 child_pid = -1;
110 child_pid = fork();
112 ASSERT_NE(child_pid, -1);
114 if (child_pid != 0) {
116 assert_wait_child(child_pid);
131 pid_t child_pid; local
173 pid_t child_pid; local
250 pid_t child_pid; local
305 pid_t child_pid; local
386 pid_t child_pid; local
530 pid_t child_pid; local
724 pid_t child_pid; local
    [all...]
  /src/tests/kernel/
t_sysv.c 89 pid_t child_pid; variable
237 switch ((child_pid = fork())) {
282 ATF_REQUIRE_EQ_MSG(wait_result, child_pid, "wait returned %d (%s)",
462 switch ((child_pid = fork())) {
668 switch ((child_pid = fork())) {
685 ATF_REQUIRE_EQ_MSG(wait_result, child_pid, "wait returned %d (%s)",
  /src/crypto/dist/ipsec-tools/src/racoon/
privsep.c 203 pid_t child_pid; local
227 switch (child_pid = fork()) {
305 "racoon unprivileged process running with PID %d\n", child_pid);
  /src/external/gpl3/gdb.old/dist/gdb/
rs6000-aix-nat.c 151 find_my_aix_parent (pid_t child_pid)
156 NULL, 0, &child_pid, 1) != 1)
172 [=] (pid_t child_pid)
174 return find_my_aix_parent (child_pid) == parent_pid;
189 has_my_aix_parent_reported (pid_t child_pid)
191 pid_t my_parent = find_my_aix_parent (child_pid);
914 pid_t child_pid = has_my_aix_child_reported (pid); local
915 if (child_pid > 0)
917 ourstatus->set_forked (ptid_t (child_pid));
  /src/external/gpl3/gdb/dist/gdb/
rs6000-aix-nat.c 151 find_my_aix_parent (pid_t child_pid)
156 NULL, 0, &child_pid, 1) != 1)
172 [=] (pid_t child_pid)
174 return find_my_aix_parent (child_pid) == parent_pid;
189 has_my_aix_parent_reported (pid_t child_pid)
191 pid_t my_parent = find_my_aix_parent (child_pid);
914 pid_t child_pid = has_my_aix_child_reported (pid); local
915 if (child_pid > 0)
917 ourstatus->set_forked (ptid_t (child_pid));
  /src/usr.sbin/faithd/
faithd.c 347 pid_t child_pid; local
399 child_pid = fork();
401 if (child_pid == 0) {
412 if (child_pid == -1)
  /src/external/bsd/atf/dist/tools/
test-program.cpp 755 const pid_t child_pid = child.pid(); local
768 timers::child_timer timeout_timer(timeout, child_pid, terminate_poll);
776 ::killpg(child_pid, SIGKILL);
  /src/usr.sbin/lpr/lpd/
printjob.c 548 int n, fi, fo, child_pid, p[2], stopped = 0, nofile; local
717 while ((child_pid =
718 wait3(&status, WUNTRACED, 0)) > 0 && child_pid != ofilter)
753 while ((child_pid = wait(&status)) > 0 && child_pid != child)
775 printer, format, (int)child_pid, WTERMSIG(status));
1206 int i, child_pid; local
1210 if ((child_pid = fork()) < 0) {
1217 if (child_pid == 0) {
1229 return (child_pid);
    [all...]
  /src/external/bsd/atf/dist/atf-c/detail/
process_test.c 701 ATF_TC(child_pid); variable
702 ATF_TC_HEAD(child_pid, tc)
707 ATF_TC_BODY(child_pid, tc)
1116 ATF_TP_ADD_TC(tp, child_pid);
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/
gtest-death-test.cc 1081 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; }
1139 const pid_t child_pid = fork(); local
1140 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
1141 set_child_pid(child_pid);
1142 if (child_pid == 0) {
1315 pid_t child_pid = -1; local
1342 child_pid =
1387 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
1395 if (use_fork && (child_pid = fork()) == 0)
1451 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local
    [all...]

Completed in 47 milliseconds

1 2