This directory contains utility functions for the online mirror daemon
`omirrd'. Partially these functions are replacements for standard
functions with extended functionality (like the GNU getopt), partially
these are standard function which are provided for operating systems
which don't have this special function (like strerror.c), partially
these are special functions from the GNU libc distribution and
partially these are my private extensions. The following table
describes the functions and their origins.


fnmatch.c fnmatch.h: fnmatch()
	GNU fnmatch with enhanced functionality compared to standard fnmatch(3).
	origin: GNU findutils-4.1/lib/fnmatch.[ch], version dated 26-Sep-94
	used on all systems

getopt.c getopt.h getopt1.c: getopt(), getopt_long()
	GNU getopt with enhanced functionality compared to standard getopt(3).
	origin: GNU findutils-4.1/lib/getopt.[ch], version dated 31-Oct-94
	used on all systems

setproctitle.c: initsetproctitle(), setproctitle()
	function to set the process name displayed by ps(1)
	origin: based on sendmail-8.7.3/src/setproctitle.c, modified
	used on systems without standard `setproctitle' function.

xmalloc.c: xmalloc(), xrealloc()
	GNU enhanced malloc/realloc with error handling
	origin: based on GNU findutils-4.1/lib/xmalloc.c, version dated 25-Oct-94, modified
	used on all systems

xstrdup.c: xstrdup()
	GNU enhanced strdup which uses xmalloc
	origin: GNU findutils-4.1/lib/xstrdup.c, version dated 26-Sep-94
	used on all systems

xstrerror.c: xstrerror()
	enhanced strerror function which never fails returning NULL
	origin: implemented from scratch
	used on all systems

alloca.c: alloca()
	GNU implementation of alloca() in C by D A Gwyn
	origin: GNU findutils-4.1/lib/alloca.c, version dated 26-Sep-94
	used on systems/compilers without standard alloca()

daemon.c: daemon()
	4.4BSD function to put a process into backgroup and release
	from controlling terminal
	origin: based on Linux libc-5.0.9/libbsd/daemon.c, modified
	used on systems without standard daemon() function

strerror.c: strerror()
	implementation of the strerror() function using `sys_errlist[]'
	origin: implemented from scratch
	used on systems without standard strerror() function.

mktemp.c: mktemp()
	implementation of the mktemp(3) function to get unique filename
	origin: GNU libc-5.3.12/libc/posix/mktemp.c
	used on systems without standard mktemp() function.


See the source files for the copyrights that apply.

Andreas Luik, <luik@pharao.s.bawue.de>
21-Oct-96

