Searched refs:childPid (Results 1 – 6 of 6) sorted by relevance
195 if ((childPid = fork()) == 0) { in doshell()213 if (childPid == -1) { in doshell()218 return childPid; in doshell()390 if ((childPid = fork()) == 0) { in doexec()400 if (childPid == -1) { in doexec()407 return childPid; in doexec()
118 pid_t childPid = -1; // This variable is used for killing child's process variable
815 if (childPid > 0) { in handle_interrupt_mksh()816 kill(childPid, SIGTERM); in handle_interrupt_mksh()817 childPid = -1; in handle_interrupt_mksh()
1514 childPid = -1; in add_running()1771 childPid = fork(); in run_rule_commands()1772 switch (childPid) { in run_rule_commands()1839 return childPid; in run_rule_commands()
740 if (childPid > 0) { in handle_interrupt()741 kill(childPid, SIGTERM); in handle_interrupt()742 childPid = -1; in handle_interrupt()
896 extern pid_t childPid;