#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <signal.h>#include <dirent.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#include <utime.h>#include <pwd.h>#include <time.h>#include <errno.h>#include <dsSmartException.h>Go to the source code of this file.
Compounds | |
| class | dsDaemon |
| It's easy method to create UNIX daemon using C++. More... | |
Defines | |
| #define | DAEMON_NOPARENTSIG 0x01 |
| #define | DAEMON_NOCHILDSIG 0x02 |
| #define | DAEMON_NODETACH 0x04 |
| #define | DAEMON_NOCHDIR 0x08 |
| #define | DAEMON_KILLPREV 0x10 |
Typedefs | |
| typedef void | Sigfunc (int) |
Functions | |
| Sigfunc * | Signal (int signo, Sigfunc *func) |
| DECLARE_EXCEPTION (dsDaemon) | |
| int | DaemonFlags (char *str) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convert text reperesentation of daemon file into binary flags |
|
|
|
|
||||||||||||
|
|
1.3-rc2