New function, pid_runpath(), figures out /var/run or /run prefix

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2018-01-13 21:42:13 +01:00
1 parent d87af8270e
commit 91b550662e
2 files changed
+23

No files matched your search

+2
View File
@@ -29,6 +29,8 @@ char *pid_file (svc_t *svc);
int pid_file_create (svc_t *svc);
int pid_file_parse (svc_t *svc, char *arg);
char *pid_runpath (char *file, char *path, size_t len);
/**
* Local Variables:
* indent-tabs-mode: t