Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cxa_finalize.c « stdlib « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9bdbed7af5aa27dc4a6c26632e28a24e8286ea7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Implementation if __cxa_finalize.
 */


#include <stdlib.h>
#include <reent.h>
#include "atexit.h"

#ifdef __REENT_HAS_CXA_SUPPORT

/*
 * 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);
}

#endif  /* __REENT_HAS_CXA_SUPPORT */