freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | config BR2_PACKAGE_LIBDAEMON
|
|---|
| 2 | prompt "libdaemon......................... A lightweight C library that eases the writing of UNIX daemons"
|
|---|
| 3 | tristate
|
|---|
| 4 | default m if CONFIG_DEVEL
|
|---|
| 5 | help
|
|---|
| 6 | libdaemon is a lightweight C library that eases the writing of UNIX daemons.
|
|---|
| 7 | It consists of the following parts:
|
|---|
| 8 |
|
|---|
| 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.
|
|---|
| 14 |
|
|---|
| 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.
|
|---|
| 17 |
|
|---|
| 18 | http://0pointer.de/lennart/projects/libdaemon/
|
|---|
| 19 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.