Projects / libslack

libslack

Libslack is a library of general utilities designed to make UNIX/C programming a bit easier on the eye. It was originally implemented as part of the daemon program. It's a small library with lots of functionality, is accurately documented and was thoroughly tested. Good library naming conventions are not rigorously observed on the principle that common operations should always be easy to write and code should always be easy to read.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  13 Jun 2010 10:10

    Release Notes: This release contains a few minor bug and documentation fixes. It has been updated to compile and work on recent operating systems. There are 32-bit and 64-bit binary packages for Fedora, OpenBSD, FreeBSD, NetBSD, Solaris10, OpenSolaris, and Mac OS X.

    •  03 Jan 2004 15:05

      Release Notes: This release adds a port to Mac OS X (Darwin) 10.3.2, a binary package for Solaris 8 Intel, support for generating a SWIG input file, many (runnable) examples for the manpages, and various bugfixes.

      •  15 Sep 2002 20:45

        Release Notes: This release has been ported to FreeBSD and Solaris 8. FreeBSD binary package generation has been added. stdout and stderr in coproc functions have been separated. daemon_pidfile() has been exposed. daemon_is_running(), daemon_stop(), and daemon_getpid() have been added. Support for installing gzipped man pages has been added. An --upgrade option has been added to libslack-config.

        •  09 Nov 2001 18:18

          Release Notes: A agent-oriented programming module was added, including scalable net servers, distributed applications, and simulations. Other new features include IPv4/IPV6 multicasting, reliability over UDP and UNIX domain sockets, sending/receiving open file descriptors from one process to another, pseudo terminals, co-processes that communicate via pipes or pseudo-terminals, a thread safe snprintf() implementation, and more string functions. Name lookups were made thread-safe. The API for decoupled thread safety was improved. The speed of lockers was improved. Some bugs were fixed. The documentation was proofread. The library was ported to OpenBSD.

          •  16 Feb 2001 10:38

            Release Notes: A security bug involving daemon_file_is_safe() not following symlinks and other some memory bugs have been fixed. Secure memory and memory pools have been added. Enhancements have been made to fgetline to handle any line ending and str_fgetline to handle any line ending and length. Timeouts have been added to net_client/connect. The timeouts in net_expect and net_send have been fixed. Numerous other changes were also included.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.