add libdaemon package

SVN-Revision: 1731
This commit is contained in:
Nicolas Thill
2005-08-23 08:10:02 +00:00
parent b124b6c2c4
commit 2770f08c23
5 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_LIBDAEMON
tristate "libdaemon - A lightweight C library that eases the writing of UNIX daemons"
# default m if CONFIG_DEVEL
default n
help
libdaemon is a lightweight C library that eases the writing of UNIX daemons.
It consists of the following parts:
* A wrapper around fork() which does the correct daemonization procedure of a process
* A wrapper around syslog() for simpler and compatible log output to Syslog or STDERR
* An API for writing PID files
* An API for serializing UNIX signals into a pipe for usage with select() or poll()
* An API for running subprocesses with STDOUT and STDERR redirected to syslog.
APIs like these are used in most daemon software available. It is not that
simple to get it done right and code duplication is not a goal.
http://0pointer.de/lennart/projects/libdaemon/