Daemon non-inline non-template implementation. More...
#include "Daemon.hh"#include "Daemon.ih"#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#include <unistd.h>#include <limits.h>#include <fcntl.h>#include <errno.h>#include <signal.h>#include <sstream>#include <fstream>#include <algorithm>#include <boost/algorithm/string/predicate.hpp>#include <boost/algorithm/string/trim.hpp>#include <boost/format.hpp>#include <boost/bind.hpp>#include <senf/Utils/Exception.hh>#include <senf/Utils/membind.hh>#include <senf/Utils/Backtrace.hh>#include <senf/Utils/signalnames.hh>#include <ucontext.h>Go to the source code of this file.
Macros | |
| #define | prefix_ |
| #define | LIBC_CALL(fn, args) |
| #define | LIBC_CALL_RV(var, fn, args) int var (fn args); if (var < 0) SENF_THROW_SYSTEM_EXCEPTION(#fn "()") |
| #define | catchAllOtherExceptions() |
Daemon non-inline non-template implementation.
Definition in file Daemon.cc.
| #define catchAllOtherExceptions | ( | ) |
| #define LIBC_CALL | ( | fn, | |
| args | |||
| ) |
| #define LIBC_CALL_RV | ( | var, | |
| fn, | |||
| args | |||
| ) | int var (fn args); if (var < 0) SENF_THROW_SYSTEM_EXCEPTION(#fn "()") |