Lines Matching defs:pid
276 pid_t pid;
285 pid = fork();
286 if (pid == (pid_t)-1) {
292 if (pid == 0) {
424 pid_t pid;
430 pid = (pid_t)strtol(ssh_agent_pid, &end, 10);
432 openpam_log(PAM_LOG_DEBUG, "invalid ssh agent pid");
435 openpam_log(PAM_LOG_DEBUG, "killing ssh agent %d", (int)pid);
436 if (kill(pid, SIGTERM) == -1 ||
437 (waitpid(pid, &status, 0) == -1 && errno != ECHILD))