add handling of stdio descriptors
[libi2ncommon] / src / daemonfunc.hpp
index f5b85cf..bcfcc05 100644 (file)
@@ -33,6 +33,7 @@ namespace I2n
 namespace Daemon
 {
 void daemonize();
+void daemonize_full();
 
 bool drop_root_privileges(const std::string &username,
                           const std::string &group, bool get_group_from_user=false);
@@ -40,6 +41,7 @@ bool drop_root_privileges(const std::string &username,
 bool pid_of(const std::string& name, std::vector< pid_t >& result);
 
 pid_t create_session (void);
+void null_fds (void);
 }
 }