typedef void (*func_ptr
) (void);
func_ptr __CTOR_LIST__
[2];
func_ptr __DTOR_LIST__
[2];
/* Run all the global destructors on exit from the program. */
unsigned nptrs
= (unsigned long) __DTOR_LIST__
[0];
/* Some systems place the number of pointers
in the first word of the table.
On other systems, that word is -1.
In all cases, the table is null-terminated. */
/* If the length is not recorded, count up to the null. */
for (nptrs
= 0; __DTOR_LIST__
[nptrs
+ 1] != 0; nptrs
++);
for (i
= nptrs
; i
>= 1; i
--)
for (p
= __CTOR_LIST__
+ 1; *p
; )
atexit (__do_global_dtors
);
static int initialized
= 0;