Lines Matching refs:do_cmd_pid
105 pid_t do_cmd_pid = -1; variable
110 if (do_cmd_pid > 1) { in killchild()
111 kill(do_cmd_pid, signo ? signo : SIGTERM); in killchild()
112 waitpid(do_cmd_pid, NULL, 0); in killchild()
145 do_cmd_pid = pid; in do_local_cmd()
154 do_cmd_pid = -1; in do_local_cmd()
207 do_cmd_pid = vfork(); in do_cmd()
209 do_cmd_pid = fork(); in do_cmd()
212 if (do_cmd_pid == 0) { in do_cmd()
232 } else if (do_cmd_pid == -1) { in do_cmd()
417 do_cmd_pid = -1; in scp_main()
437 if (do_cmd_pid != -1 && errs == 0) { in scp_main()
442 if (waitpid(do_cmd_pid, &status, 0) == -1) in scp_main()