./devel/libdaemon, C library that eases the writing of UNIX daemons

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2008Q4, Version: 0.12, Package name: libdaemon-0.12, Maintainer: adrianp

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.


Master sites:

SHA1: 2b45ab37df853afd25f7985ed699b799e0464413
RMD160: ccadae8f8dcac3ddac154cc7e1e1d47da8302c7d
Filesize: 346.843 KB

Version history: (Expand)