summaryrefslogtreecommitdiff
path: root/openwrt/package/libdaemon/Config.in
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-23 08:10:02 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-23 08:10:02 +0000
commit2770f08c23566d57c7b7aebf00a495e313add7d2 (patch)
tree7681ab56b655adcd2e0bf1c35585bf142b855187 /openwrt/package/libdaemon/Config.in
parentb124b6c2c47ac7d4b106fc51270900cc6eeff11a (diff)
downloadmtk-20170518-2770f08c23566d57c7b7aebf00a495e313add7d2.zip
mtk-20170518-2770f08c23566d57c7b7aebf00a495e313add7d2.tar.gz
mtk-20170518-2770f08c23566d57c7b7aebf00a495e313add7d2.tar.bz2
add libdaemon package
SVN-Revision: 1731
Diffstat (limited to 'openwrt/package/libdaemon/Config.in')
-rw-r--r--openwrt/package/libdaemon/Config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/openwrt/package/libdaemon/Config.in b/openwrt/package/libdaemon/Config.in
new file mode 100644
index 0000000..eb4b619
--- /dev/null
+++ b/openwrt/package/libdaemon/Config.in
@@ -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/
+