mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-26 06:09:41 +02:00
445d5e12cf
make updatedd modular git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2333 3c298f89-4303-0410-b956-a3cf2f4a3e73
20 lines
900 B
Plaintext
20 lines
900 B
Plaintext
config BR2_PACKAGE_LIBDAEMON
|
|
prompt "libdaemon......................... A lightweight C library that eases the writing of UNIX daemons"
|
|
tristate
|
|
default m if CONFIG_DEVEL
|
|
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/
|
|
|