Searched refs:sshpid (Results 1 – 1 of 1) sorted by relevance
83 static pid_t sshpid = -1; variable185 if (sshpid > 1) { in killchild()186 kill(sshpid, SIGTERM); in killchild()187 waitpid(sshpid, NULL, 0); in killchild()1483 if ((sshpid = fork()) == -1) in connect_to_server()1485 else if (sshpid == 0) { in connect_to_server()1684 while (waitpid(sshpid, NULL, 0) == -1) in main()