// Smersh // // Douglas Thrift // // $Id$ #include "Daemon.hpp" void Daemon::serve(bool fork, Daemon* self) { Person::configure(); if (fork) { switch (::fork()) { case -1: cerr << program << ": fork()\n"; exit(1); case 0: break; default: return; } } self->handle(); } void Daemon::handle() { cerr << "Here!\n"; }