Exemple #1
0
void
__fini()
{
	/*
	 * Call global destructors.
	 */
	__dtors();
}
Exemple #2
0
void
__do_global_dtors_aux(void)
{
	static int finished;

	if (finished)
		return;

	__dtors();

	finished = 1;
}
Exemple #3
0
void
_do_fini(void)
{
    static int finalized = 0;

    if (!finalized) {
        finalized = 1;

        if (__cxa_finalize != NULL)
            __cxa_finalize(__dso_handle);

        /*
         * since the _init() function sets up the destructors to
         * be called by atexit, do not call the destructors here.
         */
        __dtors();
    }
}