libusual  0.1
Functions
usual/daemon.h File Reference

Daemonization & pidfile handling. More...

Functions

bool signal_pidfile (const char *pidfile, int sig)
 Read a pid from pidfile and send a signal to it.
void daemonize (const char *pidfile, bool go_background)
 Daemonize process and write pidfile.

Detailed Description

Daemonization & pidfile handling.


Function Documentation

bool signal_pidfile ( const char *  pidfile,
int  sig 
)

Read a pid from pidfile and send a signal to it.

void daemonize ( const char *  pidfile,
bool  go_background 
)

Daemonize process and write pidfile.