A lightweight C library that eases the writing of UNIX daemons http://0pointer.de/lennart/projects/libdaemon/
Go to file
2024-01-06 04:04:05 +01:00
libdaemon.spec automatic update by autodist [release 0.14-1mamba;Wed Oct 21 2009] 2024-01-06 04:04:05 +01:00
README.md automatic update by autodist [release 0.14-1mamba;Wed Oct 21 2009] 2024-01-06 04:04:05 +01:00

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.