source: trunk/libs/newlib/src/newlib/libc/stdlib/cxa_finalize.c @ 577

Last change on this file since 577 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 312 bytes
Line 
1/*
2 * Implementation if __cxa_finalize.
3 */
4
5
6#include <stdlib.h>
7#include <reent.h>
8#include "atexit.h"
9
10/*
11 * Call registered exit handlers.  If D is null then all handlers are called,
12 * otherwise only the handlers from that DSO are called.
13 */
14
15void 
16__cxa_finalize (void * d)
17{
18  __call_exitprocs (0, d);
19}
Note: See TracBrowser for help on using the repository browser.