Searched refs:pid2 (Results 1 – 5 of 5) sorted by relevance
35 setpgrp(pid_t pid1, pid_t pid2) in setpgrp() argument 37 return (setpgid(pid1, pid2)); in setpgrp()
377 pid_t pid2 = 0; in vi_filter() local 385 pid2 = fork(); in vi_filter() 392 if (pid2 == 0) { in vi_filter() 429 if (pid2) { in vi_filter() 430 (void)kill(pid2, 9); in vi_filter() 432 rpid = waitpid(pid2, &status2, 0); in vi_filter()
217 pid2=$!229 if [ "$pid1" ] || [ "$pid2" ]231 /usr/bin/kill $pid1 $pid2 > /dev/null 2>&1
323 unset pid1 pid2326 pid2=$(333 wait $pid2
335 unset pid1 pid2338 pid2=$(345 wait $pid2