Home
last modified time | relevance | path

Searched refs:sshpid (Results 1 – 2 of 2) sorted by relevance

/external/openssh/
Dsftp.c84 static pid_t sshpid = -1; variable
225 if (sshpid > 1) { in killchild()
226 kill(sshpid, SIGTERM); in killchild()
227 waitpid(sshpid, NULL, 0); in killchild()
237 if (sshpid > 1) { in suspchild()
238 kill(sshpid, signo); in suspchild()
239 while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR) in suspchild()
2206 if ((sshpid = fork()) == -1) in connect_to_server()
2208 else if (sshpid == 0) { in connect_to_server()
2474 while (waitpid(sshpid, NULL, 0) == -1) in main()
/external/curl/tests/
Druntests.pl2053 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 60, 0);
2059 if($sshpid <= 0 || !pidexists($sshpid)) {
2075 stopserver($server, "$sshpid $pid2");
2095 stopserver($server, "$sshpid $pid2");
2104 return ($pid2, $sshpid);
2214 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 30, 1); # fake pidfile
2216 if($sshpid <= 0 || !pidexists($sshpid)) {
2233 stopserver($server, "$sshpid $pid2");
2243 return ($pid2, $sshpid);