19 #ifndef UNITY_UTIL_DAEMON_H
20 #define UNITY_UTIL_DAEMON_H
23 #include <unity/util/NonCopyable.h>
25 #include <sys/types.h>
84 void close_fds() noexcept;
89 void reset_signals() noexcept;
95 void set_umask(mode_t mask) noexcept;
105 void set_working_directory(std::string
const& working_directory);
127 std::unique_ptr<internal::DaemonImpl> p_;
Helper class to turn a process into a daemon.
Definition: Daemon.h:66
Top-level namespace for all things Unity-related.
Definition: Version.h:37
#define UNITY_DEFINES_PTRS(classname)
Macro to add smart pointer definitions to a class.
Definition: DefinesPtrs.h:52