Lines Matching refs:masterpid
89 int masterpid = 0;
477 "%s:(pid%d)", hostname, masterpid);
531 "%s:%d", am_get_progname(), masterpid);
627 printf("%d\n", masterpid);
668 masterpid = child;
682 masterpid = serverpid = am_set_mypid(); /* for logging routines */
791 if (getpid() != masterpid)
825 serverpid = masterpid;
843 if (getpid() != masterpid)
847 masterpid = 0;
870 kill(masterpid, SIGKILL);
884 if (wait(&result) == masterpid) {
895 if (mypid == masterpid)
898 kill(masterpid, SIGTERM);