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

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


Branch: pkgsrc-2009Q3, Version: 0.13, Package name: libdaemon-0.13, Maintainer: pkgsrc-users

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: 2c67eedf0dfe303a86bee64feba3e40d21abbd01
RMD160: 7fc41dc7a147d969b29e5a359442716859de7e0e
Filesize: 359.491 KB

Version history: (Expand)