19#ifndef LOMIRI_UTIL_DAEMON_H
20#define LOMIRI_UTIL_DAEMON_H
23#include <lomiri/util/NonCopyable.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_;
#define LOMIRI_DEFINES_PTRS(classname)
Macro to add smart pointer definitions to a class.
Definition: DefinesPtrs.h:52
Helper class to turn a process into a daemon.
Definition: Daemon.h:67
Top-level namespace for all things Lomiri-related.
Definition: Version.h:38