Lines Matching refs:sshpid
83 static volatile pid_t sshpid = -1; variable
225 pid = sshpid; in killchild()
238 if (sshpid > 1) { in suspchild()
239 kill(sshpid, signo); in suspchild()
240 while (waitpid(sshpid, NULL, WUNTRACED) == -1 && errno == EINTR) in suspchild()
267 while ((pid = waitpid(sshpid, NULL, WNOHANG)) == -1 && errno == EINTR) in sigchld_handler()
269 if (pid == sshpid) { in sigchld_handler()
271 sshpid = -1; in sigchld_handler()
2322 if ((sshpid = fork()) == -1) in connect_to_server()
2324 else if (sshpid == 0) { in connect_to_server()
2604 while (waitpid(sshpid, NULL, 0) == -1 && sshpid > 1) in main()