#include <stdexcept>
Include dependency graph for makedaemon.h:
Go to the source code of this file.
Namespaces | |
namespace | Dv |
namespace | Dv::Util |
Functions | |
void | make_daemon (const std::string &pidfilename="") throw (std::runtime_error) |
Make this process into a daemon. |
Tested on linux (using daemon()) and solaris.
Definition in file makedaemon.h.
|
Make this process into a daemon. Become process session leader, close fd 0,1,2, no controlling terminal, chdir("/");
|
dvutil-0.13.15 | [30 December, 2004] |