42 G_EXCEPTION( Error ,
"cleanup error" ) ;
47 static void add(
void (*fn)(
SignalSafe,
const char*) ,
const char * arg ) ;
53 static void atexit(
bool active =
true ) ;
static void atexit(bool active=true)
Ensures that the cleanup functions are also called via atexit(), in addition to abnormal-termination ...
A static interface for registering cleanup functions that are called when the process terminates abno...
An empty structure that is used to indicate a signal-safe, reentrant implementation.
static void init()
An optional early-initialisation function. May be called more than once.
static void add(void(*fn)(SignalSafe, const char *), const char *arg)
Adds the given handler to the list of handlers that are to be called when the process terminates abno...