Loading...
Searching...
No Matches
Go to the documentation of this file.
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#include "utils/Daemon.h"
22#ifndef DOXYGEN_SHOULD_SKIP_THIS
24#include "core/system/poll.h"
33#include <sys/syscall.h>
128 if (
std::
freopen(
"/dev/null",
"r", stdin) ==
nullptr) {
130 if (
std::
freopen(
"/dev/null",
"w+", stdout) ==
nullptr) {
132 if (
std::
freopen(
"/dev/null",
"w+", stderr) ==
nullptr) {