Searched refs:pidpath (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/cmd/svc/configd/ |
H A D | configd.c | 548 char pidpath[sizeof ("/proc/" "/psinfo") + 10]; in main() local 599 (void) snprintf(pidpath, sizeof (pidpath), in main() 601 if ((fd = open(pidpath, O_RDONLY)) < 0 || in main()
|
/titanic_50/usr/src/cmd/power/ |
H A D | powerd.c | 132 static char pidpath[] = PIDPATH; variable 495 (void) unlink(pidpath); in kill_handler() 1289 if ((fd = open(pidpath, O_CREAT | O_EXCL | O_WRONLY, 0444)) == -1) { in open_pidfile() 1294 if ((fp = fopen(pidpath, "r")) == NULL) { in open_pidfile() 1305 if (unlink(pidpath) == -1) { in open_pidfile() 1316 if (unlink(pidpath) == -1) { in open_pidfile()
|
/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | util.c | 583 char pidpath[MAXPATHLEN]; local 590 expand(PidFile, pidpath, sizeof(pidpath), e); 591 Pidf = safefopen(pidpath, O_WRONLY|O_TRUNC, FileMode, sff); 597 pidpath); 601 pidpath, sm_errstring(errno));
|
H A D | main.c | 1410 char pidpath[MAXPATHLEN]; local 1415 expand(PidFile, pidpath, sizeof(pidpath), &BlankEnvelope); 1416 sm_dprintf(" Pid file:\t%s (selected)\n", pidpath); 2940 char pidpath[MAXPATHLEN]; local 3035 expand(PidFile, pidpath, sizeof(pidpath), CurEnv); 3036 (void) unlink(pidpath);
|