Home
last modified time | relevance | path

Searched refs:master_pid (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c76 static pid_t master_pid = -1; variable
356 if (master_pid != -1) { in pkgopenserver_i()
358 (void) snprintf(pidbuf, sizeof (pidbuf), "%d", master_pid); in pkgopenserver_i()
407 master_pid = atoi(pidstr); in pkgparsemode()
408 if (master_pid <= 1 || kill(master_pid, 0) != 0) in pkgparsemode()
409 master_pid = -1; in pkgparsemode()
433 (master_pid > 1 && kill(master_pid, 0) == 0) ? master_pid : in pkgmodeargument()