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