예제 #1
0
void
__fini()
{
	/*
	 * Call global destructors.
	 */
	__dtors();
}
예제 #2
0
파일: crtbegin.c 프로젝트: Sciumo/pcc-libs
void
__do_global_dtors_aux(void)
{
	static int finished;

	if (finished)
		return;

	__dtors();

	finished = 1;
}
예제 #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();
    }
}