BSD Ports

devel/libdaemon 0.14p1 OpenBSD

lightweight C library that eases the writing of daemons

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel

Description

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.

In the other systems

SystemPortVersion
OpenBSDdevel/libdaemon0.14p1
FreeBSDdevel/libdaemon0.14_1
NetBSDdevel/libdaemon0.14nb2
DragonFlydevel/libdaemon0.14_1
MidnightBSDdevel/libdaemon0.14_1

Install

Binary package:

pkg_add libdaemon

From the ports tree:

cd /usr/ports/devel/libdaemon && make install

Dependencies

Required by 1