Description:
Temporary directories and temporary files with automatic cleanup.

Files:
lib/clean-temp.h
lib/clean-temp.c

Depends-on:
c99
stdbool
stdint
unistd
lock
thread-optim
error
fatal-signal
asyncsafe-spin
open
pathmax
tmpdir
mkdtemp
rmdir
xalloc
xmalloca
linkedhash-list
linked-list
xlist
gettext-h

configure.ac:
AC_DEFINE([SIGNAL_SAFE_LIST], [1], [Define if lists must be signal-safe.])

Makefile.am:
lib_SOURCES += clean-temp.h clean-temp.c

Include:
"clean-temp.h"

Link:
$(LIB_GETRANDOM)
$(LIBTHREAD)

License:
GPL

Maintainer:
all
