OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [stdlib/] [cxa_atexit.c] - Blame information for rev 207

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * Implementation of __cxa_atexit.
3
 */
4
 
5
#include <stddef.h>
6
#include <stdlib.h>
7
#include <reent.h>
8
#include <sys/lock.h>
9
#include "atexit.h"
10
 
11
/*
12
 * Register a function to be performed at exit or DSO unload.
13
 */
14
 
15
int
16
_DEFUN (__cxa_atexit,
17
        (fn, arg, d),
18
        void (*fn) (void *) _AND
19
        void *arg _AND
20
        void *d)
21
{
22
  return __register_exitproc (__et_cxa, (void (*)(void)) fn, arg, d);
23
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.