From e8087a87a3155656596d92ebecfa37841b637ef7 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 21 May 2012 11:08:59 -0700 Subject: daemon: Factor out code into new function daemonize_post_detach(). This code will have another user in an upcoming commit. Signed-off-by: Ben Pfaff --- lib/daemon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/daemon.h') diff --git a/lib/daemon.h b/lib/daemon.h index 63b64b99f..8cbcfafe2 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -74,5 +74,6 @@ pid_t read_pidfile(const char *name); pid_t read_pidfile_if_exists(const char *name); pid_t fork_and_clean_up(void); +void daemonize_post_detach(void); #endif /* daemon.h */ -- cgit v1.2.1