Searched refs:child_pid (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libwrap/
H A Dshell_cmd.c50 int child_pid; local
58 switch (child_pid = fork()) {
66 while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid)
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dcmd.c81 pid_t child_pid; local
94 if ((child_pid = fork()) == -1) {
98 if (child_pid == 0) {
180 pid_t child_pid; local
192 if ((child_pid = fork()) == -1) {
197 if (child_pid == 0) {
256 while ((wait(&status) != child_pid)) {
/osnet-11/usr/src/cmd/hal/hald/
H A Dhald.c300 parent_wait_for_child (int child_fd, pid_t child_pid) argument
342 kill (child_pid, SIGTERM);
471 int child_pid; local
491 child_pid = fork ();
492 switch (child_pid) {
515 exit (parent_wait_for_child (startup_daemonize_pipe[0], child_pid));
/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_exec.c688 pid_t child_pid; local
797 child_pid = fork1();
799 if (child_pid < 0) {
818 if (child_pid == 0) {
867 _z_global_data._z_ChildProcessId = child_pid;
964 result_pid = waitpid(child_pid, &status, 0L);
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c8587 pid_t retval, child_pid; local
8626 if ((child_pid = fork()) == -1) {
8629 } else if (child_pid == 0) {
8657 retval = waitpid(child_pid, &pstatus, 0);
8658 } while (retval != child_pid);

Completed in 59 milliseconds