Searched defs:master_pid (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgserv.c71 static pid_t master_pid = -1; variable
356 if (master_pid != -1) {
358 (void) snprintf(pidbuf, sizeof (pidbuf), "%d", master_pid);
407 master_pid = atoi(pidstr);
408 if (master_pid <= 1 || kill(master_pid, 0) != 0)
409 master_pid = -1;
433 (master_pid > 1 && kill(master_pid, 0) == 0) ? master_pid
[all...]

Completed in 338 milliseconds