Add pidfile() from NetBSD/OpenBSD, missing in GLIBC.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-07-09 01:25:19 +02:00
1 parent 1561e7567e
commit 9ed00baa94
4 files changed
+126 -1

No files matched your search

+2
View File
@@ -51,6 +51,8 @@ int makepath (char *dir);
int dir (const char *dir, const char *type, int (*filter) (const char *file), char ***list, int strip);
int rsync (char *src, char *dst, int delete, int (*filter) (const char *file));
int pidfile (const char *basename);
#ifndef strlcpy
size_t strlcpy (char *dst, const char *src, size_t siz);
#endif