My Library of Hackery (MLH)


The MLH library is a group of library functions in C that I have written over the years and have used in numerous tools, applications, utilities, or just simple use-once throw away programs. There are two versions of the library, libmlh and libmh. libmh is a "lite" version of libmlh and requires only the libc library to link. libmlh may require libm, libsocket, libresolv, and libnsl, libcrypt, or other libraries depending on which OS you have. The code is designed to be portable across Linux and Solaris, but you should be able to get it to compile on other Unix platforms with minimal modifications.

The library contains classes of useful functions in the following areas:

String manipulation
Input
File I/O
IPC/Network (libmlh only)
Date and Time
UNIX processes
Math (reduced for libmh)
Hash tables
Screen/Display
Dynamic lists
Queue/Stack
Encoding/encryption (reduced for libmh)
Dynamic strings
Dynamic arrays
Asynchronous I/O emulation
Timers

The functions are licensed under the GPL v2. The documentation file for the various functions can be found in here. The README can be viewed here.


CURRENT: (released 7/14/08)
libmlh-3.0.tgz
libmlh.h (header file)
libmlh.c (main source file)
CHANGES.mlh (changelog)

OLDER RELEASES:
libmlh-2.10.0.tar.gz (released 5/28/08)
libmlh-2.9.1.tar.gz
libmlh-2.9.0.tar.gz
libmlh-2.8.0.tar.gz
libmlh-2.7.2.tar.gz
libmlh-2.7.1.tar.gz
libmlh-2.7.tar.gz
libmlh-2.6.tar.gz
libmlh-2.5.tar.gz
libmlh-2.4.tar.gz
libmlh-2.3.tar.gz
libmlh-2.2.tar.gz
libmlh-2.1.tar.gz
libmlh-2.0.1.tar.gz
libmlh-2.0.tar.gz
libmlh-1.8.tar.gz
libmlh-1.7.tar.gz
libmlh-1.6.tar.gz