Function Daemon::daemonize(std::string, std::string)¶
Defined in File daemonize.h
Function Documentation¶
-
int Daemon::daemonize(std::string name, std::string path)¶
this function will daemonize a process
This function is overloaded
This version accepts only a name and path, using defaults for all other arguments.
- Parameters:
name – [in] the name for this daemon
path – [in] directory to chdir to when running daemon
- Returns:
0