Searched defs:pidpath (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 548 char pidpath[sizeof ("/proc/" "/psinfo") + 10]; local 599 (void) snprintf(pidpath, sizeof (pidpath), 601 if ((fd = open(pidpath, O_RDONLY)) < 0 ||
|
/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 135 static char pidpath[] = PIDPATH; variable 504 (void) unlink(pidpath); 1298 if ((fd = open(pidpath, O_CREAT | O_EXCL | O_WRONLY, 0444)) == -1) { 1303 if ((fp = fopen(pidpath, "r")) == NULL) { 1314 if (unlink(pidpath) == -1) { 1325 if (unlink(pidpath) == -1) {
|
Completed in 73 milliseconds