Up to [cvs.netbsd.org] / pkgsrc / devel / libdaemon
Request diff between arbitrary revisions
Default branch: TNF, MAIN
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Dec 20 17:24:48 2008 UTC (3 years, 5 months ago) by ahoka
Branch: TNF,
MAIN
CVS Tags: pkgsrc-base,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
HEAD
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Import libdaemon-0.12 as devel/libdaemon. 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.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 20 17:24:48 2008 UTC (3 years, 5 months ago) by ahoka
Branch point for: MAIN
Initial revision