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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [cxa_atexit.c] - Rev 822

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

/*
 * Implementation of __cxa_atexit.
 */
 
#include <stddef.h>
#include <stdlib.h>
#include <reent.h>
#include <sys/lock.h>
#include "atexit.h"
 
/*
 * Register a function to be performed at exit or DSO unload.
 */
 
int
_DEFUN (__cxa_atexit,
	(fn, arg, d),
	void (*fn) (void *) _AND
	void *arg _AND
	void *d)
{
  return __register_exitproc (__et_cxa, (void (*)(void)) fn, arg, d);
}
 

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

powered by: WebSVN 2.1.0

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