Add daemon_detach, and use it.
[apps/pfixtools.git] / daemon.h
index 2fec199..e1b458f 100644 (file)
--- a/daemon.h
+++ b/daemon.h
@@ -39,4 +39,6 @@
 int tcp_listen_nonblock(const struct sockaddr *addr, socklen_t len);
 int accept_nonblock(int fd);
 
+int daemon_detach(void);
+
 #endif