syspp::Daemon Class Reference
#include <Daemon.h>
Detailed Description
Definition at line 13 of file Daemon.h.
Constructor & Destructor Documentation
| syspp::Daemon::~Daemon |
( |
|
) |
[virtual] |
| syspp::Daemon::Daemon |
( |
|
) |
|
Member Function Documentation
| void syspp::Daemon::Daemonize_full |
( |
|
) |
[static] |
Runtime setting:
- Changes to "/" directory
- Forks off and lets the parent die Ignores the following Signals SIGINT SIGQUIT SIGILL Illegal instruction (ANSI). SIGTRAP Trace trap (POSIX). SIGABRT Abort (ANSI). SIGIOT IOT trap (4.2 BSD). SIGBUS BUS error (4.2 BSD). SIGFPE Floating-point exception (ANSI). SIGUSR1 User-defined signal 1 (POSIX). SIGUSR2 User-defined signal 2 (POSIX). SIGALRM Alarm clock (POSIX). SIGSTKFLT Stack fault. SIGTSTP Keyboard stop (POSIX). SIGTTIN Background read from tty (POSIX). SIGTTOU Background write to tty (POSIX). SIGXCPU CPU limit exceeded (4.2 BSD). SIGXFSZ File size limit exceeded (4.2 BSD). SIGVTALRM Virtual alarm clock (4.2 BSD). SIGPROF Profiling alarm clock (4.2 BSD). SIGWINCH Window size change (4.3 BSD, Sun). SIGPOLL Pollable event occurred (System V). SIGIO I/O now possible (4.2 BSD). SIGPWR Power failure restart (System V). SIGSYS Bad system call.
Definition at line 76 of file Daemon.cpp.
| void syspp::Daemon::Daemonize_light |
( |
|
) |
[static] |
Blocks the following signals: SIGPIPE SIGHUP SIGCLD SIGCHLD SIGURG Should always be applied.
Definition at line 25 of file Daemon.cpp.
The documentation for this class was generated from the following files:
- /home/fb/sf/compp/trunk/ComPP/include/ComPlusPlus/Daemon.h
- /home/fb/sf/compp/trunk/ComPP/ComPlusPlus/Daemon.cpp