makedaemon.h File Reference

Defines the make_daemon() function which turns a process into a daemon. More...

#include <stdexcept>
Include dependency graph for makedaemon.h:

Go to the source code of this file.

Namespaces

namespace  Dv
namespace  Dv::Util

Functions

void Dv::Util::make_daemon (const std::string &pidfilename="") throw (std::runtime_error)
 Make this process into a daemon.

Detailed Description

Defines the make_daemon() function which turns a process into a daemon.

Tested on linux (using daemon()) and solaris.

Definition in file makedaemon.h.


dvutil-1.0.10 [ 5 December, 2009]