Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / libdaemon / DESCR
1 libdaemon is a lightweight C library that eases the writing of UNIX
2 daemons. It consists of the following parts:
3
4 * A wrapper around fork() which does the correct daemonization
5   procedure of a process
6 * A wrapper around syslog() for simpler and compatible log output to
7   Syslog or STDERR
8 * An API for writing PID files
9 * An API for serializing UNIX signals into a pipe for usage with
10   select() or poll()
11 * An API for running subprocesses with STDOUT and STDERR redirected
12   to syslog.
13
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.