Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c549 char pidpath[sizeof ("/proc/" "/psinfo") + 10]; in main() local
600 (void) snprintf(pidpath, sizeof (pidpath), in main()
602 if ((fd = open(pidpath, O_RDONLY)) < 0 || in main()
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c135 static char pidpath[] = PIDPATH; variable
504 (void) unlink(pidpath); in kill_handler()
1299 if ((fd = open(pidpath, O_CREAT | O_EXCL | O_WRONLY, 0444)) == -1) { in open_pidfile()
1304 if ((fp = fopen(pidpath, "r")) == NULL) { in open_pidfile()
1315 if (unlink(pidpath) == -1) { in open_pidfile()
1326 if (unlink(pidpath) == -1) { in open_pidfile()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dutil.c583 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 Dmain.c1410 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);