Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsDaemon.h File Reference

#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

SigfuncSignal (int signo, Sigfunc *func)
 DECLARE_EXCEPTION (dsDaemon)
int DaemonFlags (char *str)


Define Documentation

#define DAEMON_KILLPREV   0x10
 

#define DAEMON_NOCHDIR   0x08
 

#define DAEMON_NOCHILDSIG   0x02
 

#define DAEMON_NODETACH   0x04
 

#define DAEMON_NOPARENTSIG   0x01
 


Typedef Documentation

typedef void Sigfunc(int)
 


Function Documentation

int DaemonFlags char *    str [inline]
 

Convert text reperesentation of daemon file into binary flags

DECLARE_EXCEPTION dsDaemon   
 

Sigfunc* Signal int    signo,
Sigfunc   func
 


Generated on Mon May 16 18:26:58 2005 for libdms4 by doxygen1.3-rc2