kolibrios-fun/contrib/sdk/sources/newlib/libc/stdlib/cxa_finalize.c
Sergey Semyonov (Serge) e6fe081453 newlib-2.4.0
git-svn-id: svn://kolibrios.org@6536 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-09-27 20:37:49 +00:00

21 lines
326 B
C

/*
* Implementation if __cxa_finalize.
*/
#include <stdlib.h>
#include <reent.h>
#include "atexit.h"
/*
* Call registered exit handlers. If D is null then all handlers are called,
* otherwise only the handlers from that DSO are called.
*/
void
_DEFUN (__cxa_finalize, (d),
void * d)
{
__call_exitprocs (0, d);
}