A UNIX/C library of general utilities for programmers with Slack https://libslack.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
raf 9110d89b2a Fixed buglet: daemon_close() Only delete the pidfile we created and close the pidfile (James Abbatiello abbeyj at gmail.com) 10 months ago
conf Make conf scripts reset MAN_SYSDIR to default 2 years ago
tools 0.7.1 (20210220) 2 years ago
.gitignore 0.7 (20201111) 2 years ago
CHANGELOG 0.7.1 (20210220) 2 years ago
COPYING 0.7.1 (20210220) 2 years ago
INSTALL 0.7.1 (20210220) 2 years ago
LICENSE Replace original June 1991 GPLv2 with February 1999 (post-LGPLv2.1) GPLv2 1 year ago
Makefile Fixed $(DESTDIR) use to interoperate with configure --prefix 2 years ago
README.md 0.7.1 (20210220) 2 years ago
REFERENCES 0.7.1 (20210220) 2 years ago
agent.c 0.7.1 (20210220) 2 years ago
agent.h 0.7.1 (20210220) 2 years ago
config.h 0.7.1 (20210220) 2 years ago
configure 0.7.1 (20210220) 2 years ago
coproc.c Changed some coproc module test failures (missing crlf) into warnings (if otherwise ok) 2 years ago
coproc.h 0.7.1 (20210220) 2 years ago
daemon.c Fixed buglet: daemon_close() Only delete the pidfile we created and close the pidfile (James Abbatiello abbeyj at gmail.com) 10 months ago
daemon.h 0.7.1 (20210220) 2 years ago
err.c Tidied up last err module change and explicitly documented that debug macros now always/consistently include their own semiolon 2 years ago
err.h Tidied up last err module change and explicitly documented that debug macros now always/consistently include their own semiolon 2 years ago
fio.c 0.7.1 (20210220) 2 years ago
fio.h 0.7.1 (20210220) 2 years ago
getopt.c 0.5.2 (20040102) 19 years ago
getopt.h 0.5.2 (20040102) 19 years ago
hdr.h 0.7.1 (20210220) 2 years ago
hsort.c 0.7.1 (20210220) 2 years ago
hsort.h 0.7.1 (20210220) 2 years ago
lib.h 0.7.1 (20210220) 2 years ago
libslack-config.pod 0.7.1 (20210220) 2 years ago
libslack-config.t 0.7.1 (20210220) 2 years ago
libslack.pod Updated last old license URL 2 years ago
lim.c 0.7.1 (20210220) 2 years ago
lim.h 0.7.1 (20210220) 2 years ago
link.c Updated last old license URL 2 years ago
link.h 0.7.1 (20210220) 2 years ago
list.c 0.7.1 (20210220) 2 years ago
list.h 0.7.1 (20210220) 2 years ago
locker.c 0.7.1 (20210220) 2 years ago
locker.h 0.7.1 (20210220) 2 years ago
macros.mk 0.7.1 (20210220) 2 years ago
map.c 0.7.1 (20210220) 2 years ago
map.h 0.7.1 (20210220) 2 years ago
mem.c Only fail mem module pool_destroy_secure() test if too many non-nul bytes 2 years ago
mem.h 0.7.1 (20210220) 2 years ago
msg.c 0.7.1 (20210220) 2 years ago
msg.h 0.7.1 (20210220) 2 years ago
myinstall 0.6 (20100612) 13 years ago
net.c 0.7.1 (20210220) 2 years ago
net.h 0.7.1 (20210220) 2 years ago
prog.c When NDEBUG is defined exclude more unused code (fix warning, smaller binary) 2 years ago
prog.h 0.7.1 (20210220) 2 years ago
prop.c 0.7.1 (20210220) 2 years ago
prop.h 0.7.1 (20210220) 2 years ago
pseudo.c 0.7.1 (20210220) 2 years ago
pseudo.h 0.7.1 (20210220) 2 years ago
rules.mk Fixed $(DESTDIR) use to interoperate with configure --prefix 2 years ago
sig.c 0.7.1 (20210220) 2 years ago
sig.h 0.7.1 (20210220) 2 years ago
snprintf.c 0.7.1 (20210220) 2 years ago
snprintf.h 0.7.1 (20210220) 2 years ago
socks.h 0.7.1 (20210220) 2 years ago
std.h 0.7.1 (20210220) 2 years ago
str.c 0.7.1 (20210220) 2 years ago
str.h 0.7.1 (20210220) 2 years ago
vsscanf.c 0.7.1 (20210220) 2 years ago
vsscanf.h 0.7.1 (20210220) 2 years ago

README.md

README

libslack - A UNIX/C library of general utilities for programmers with Slack

Slack(n.): The state in which you need nothing,
           because you already have it.
                 -- J. R. "Bob" Dobbs, 1956

DESCRIPTION

Libslack is a library of general utilities designed to make UNIX/C programming a bit easier on the eye. It is a seemingly random collection of modules and functions that I find commonly useful.

It's a small library with lots of functionality, accurately documented and 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.

Libslack contains the following modules:

agent    - agent-oriented programming
coproc   - coprocess using pipes or pseudo terminals
daemon   - becoming a daemon
err      - message/error/debug/verbosity/alert messaging
fio      - fifo and file control and some I/O
getopt   - GNU getopt_long() for systems that don't have it
hsort    - generic heap sort
lim      - POSIX.1 limits convenience functions
link     - abstract linked lists with optional growable free lists
list     - list (growable pointer array) data type
locker   - abstract locking and reader/writer lock implementation
map      - map (hash table) data type
mem      - memory helper functions, secure memory, memory pools
msg      - message handling and syslog helper functions
net      - network functions (clients/servers, expect/send, pack/unpack, mail)
prog     - program framework and flexible command line option handling
prop     - program properties files
pseudo   - pseudo terminals
sig      - ISO C compliant signal handling
snprintf - safe sprintf for systems that don't have it
str      - string data type (tr, regex, regsub, fmt, trim, lc, uc, ...)
vsscanf  - sscanf() with va_list argument for systems that don't have it

URL: http://libslack.org
URL: http://raf.org/libslack
GIT: https://github.com/raforg/libslack
Date: 20210220
Author: raf <raf@raf.org>