Binary package “libdaemon-dev” in openkylin yangtze
lightweight C library for daemons - development files
libdaemon is a lightweight C library which eases the writing of UNIX daemons.
It consists of the following parts:
.
* Wrapper around fork() for correct daemonization of a process
* Wrapper around syslog() for simple log output to syslog or STDERR
* An API for writing PID files
* An API for serializing signals into a pipe for use with select() or poll()
* An API for running subprocesses with STDOUT and STDERR redirected to syslog
.
Routines like these are included in most of the daemon software available. It
is not simple to get these done right and code duplication is not acceptable.
.
This package includes the header files and the static version of the library.