#ifndef _WIN32 #include "linux_stuff.h" #include void daemonize() { /* Our process ID and Session ID */ pid_t pid, sid; /* Fork off the parent process */ pid = fork(); if (pid < 0) { std::cout<<"error, pid < 0"< 0) { std::cout<<"pid > 0 exit process"<