Searched refs:pidfile_path (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/lib/libutil/
H A Dpidfile.c41 static char *pidfile_path; variable
58 free(pidfile_path);
59 pidfile_path = NULL;
62 if (asprintf(&pidfile_path, "%s%s.pid", _PATH_VARRUN, basename) == -1)
65 if ((f = fopen(pidfile_path, "w")) == NULL) {
67 free(pidfile_path);
68 pidfile_path = NULL;
77 (void) unlink(pidfile_path);
78 free(pidfile_path);
79 pidfile_path
[all...]

Completed in 107 milliseconds