Lines Matching refs:pid
49 if (ep->pid <= 0)
63 if (kill(-ep->pid, SIGTERM) == -1 && errno == ESRCH) {
64 ep->pid = -99;
74 * under certain circumstances, the pid's would still be
77 * we patiently wait for the pid to die. if it doesn't
79 * note that the original "ep->pid == -99" is a crude hack;
84 if ((kill(-ep->pid, 0) == -1) && (errno == ESRCH)) {
85 ep->pid = -99;
98 if ((kill(-ep->pid, SIGKILL) == -1) && (errno == ESRCH)) {
99 ep->pid = -99;
111 ep->pid = -99;