diff options
author | Ben Pfaff <blp@nicira.com> | 2012-05-21 11:08:59 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-18 10:30:49 -0700 |
commit | e8087a87a3155656596d92ebecfa37841b637ef7 (patch) | |
tree | e133cec6edc4dff2f7e9d5cc1dc53e0ba335507f /lib/daemon.h | |
parent | 8aee05ccf4818ea3a070163f7d3dc43126d8443e (diff) | |
download | openvswitch-e8087a87a3155656596d92ebecfa37841b637ef7.tar.gz |
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 <blp@nicira.com>
Diffstat (limited to 'lib/daemon.h')
-rw-r--r-- | lib/daemon.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |