Language

Package: libdaemon @ 0.14

Synopsis

Lightweight C library that eases the writing of UNIX daemons

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.

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.

Home page
https://0pointer.de/lennart/projects/libdaemon/
Location
gnu/packages/libdaemon.scm (line: 30, column: 2)
License

Derivations

SystemTargetDerivationBuild status
x86_64-linux/gnu/store/rad7dpb9jsy781a5yp57nw241calmlhj-libdaemon-0.14.drv
x86_64-linuxxtensa-ath9k-elf/gnu/store/8d38v2kgvsjzjhld2272zyvgvcgc0scw-libdaemon-0.14.drv
    x86_64-linuxx86_64-w64-mingw32/gnu/store/5lzxxsip801max3880w75g4fk5apqbnx-libdaemon-0.14.drv
    x86_64-linuxx86_64-linux-gnux32/gnu/store/qkfmd5ar25955mbfvllk7fqlbf9r6qbb-libdaemon-0.14.drv
    x86_64-linuxriscv64-linux-gnu/gnu/store/fpyaj5cp0181dc1190yknckxiqr437z1-libdaemon-0.14.drv
    x86_64-linuxpowerpc-linux-gnu/gnu/store/mfrxcg490vcjapid0ykqhlg5jk5ksycb-libdaemon-0.14.drv
    x86_64-linuxpowerpc64-linux-gnu/gnu/store/d3xk2kslk6dfw4f2a953a8qvacr8jbwm-libdaemon-0.14.drv
    x86_64-linuxpowerpc64le-linux-gnu/gnu/store/p6fq1qmxzlm4mqb2yy4kbbc72yqd0d4z-libdaemon-0.14.drv
    x86_64-linuxor1k-elf/gnu/store/29x3wfzmi1h1ymsjw4h94b3ymqm915q8-libdaemon-0.14.drv
    x86_64-linuxmips64el-linux-gnu/gnu/store/x34vrrydvrj1238g7zaqkizmq5phxn93-libdaemon-0.14.drv
    x86_64-linuxi686-w64-mingw32/gnu/store/4x6rfx4wbs3xcbq0yknnmpaxny1h24nj-libdaemon-0.14.drv
    x86_64-linuxi586-pc-gnu/gnu/store/j5sifj7dnzlkpc1w89lak6ajbkm97vpb-libdaemon-0.14.drv
    x86_64-linuxavr/gnu/store/3vjy4rb8z31dl8wnnyqbav3jblfxmf7k-libdaemon-0.14.drv
    x86_64-linuxarm-linux-gnueabihf/gnu/store/byry7xi97y2sbalvjplq6v02vmdw579v-libdaemon-0.14.drv
    x86_64-linuxaarch64-linux-gnu/gnu/store/hrjs4fc6xziydwdc29c6r7944y4ajxm5-libdaemon-0.14.drv
    riscv64-linux/gnu/store/dd69sfcph4m9gibjn0if6292q73hak2z-libdaemon-0.14.drv
    powerpc-linux/gnu/store/imhdn7r2jlqcd2awy371pqamwq9vbxd5-libdaemon-0.14.drv
      powerpc64le-linux/gnu/store/6ry4jzpvdijagi9kjh2n78mkpabwby4p-libdaemon-0.14.drv
      mips64el-linux/gnu/store/039486vcv5bcwjhr8ssrxf7732v10ghp-libdaemon-0.14.drv
        i686-linux/gnu/store/62nh5km0adhq5gjf9d1dgj3g848n17gc-libdaemon-0.14.drv
        i586-gnu/gnu/store/gjw1zl9xv30y4v0lmf94cs9vg692qwbp-libdaemon-0.14.drv
        armhf-linux/gnu/store/nc1p300v5hwgm3q01yh1dzlnmswxjvkp-libdaemon-0.14.drv
        aarch64-linux/gnu/store/7hw6h6bj9dxjskc7a42g48zgdpg4fxv1-libdaemon-0.14.drv

        Lint warnings

        LinterMessageLocation
        formatting

        Look for formatting issues in the source

        line 39 is way too long (147 characters)
        formatting

        Look for formatting issues in the source

        parentheses feel lonely, move to the previous or next line