1 libdaemon is a lightweight C library that eases the writing of UNIX
2 daemons. It consists of the following parts:
4 * A wrapper around fork() which does the correct daemonization
6 * A wrapper around syslog() for simpler and compatible log output to
8 * An API for writing PID files
9 * An API for serializing UNIX signals into a pipe for usage with
11 * An API for running subprocesses with STDOUT and STDERR redirected
14 APIs like these are used in most daemon software available. It is not
15 that simple to get it done right and code duplication is not a goal.