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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [stdlib/] [valloc.c] - Rev 1773

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

/* valloc.c -- a wrapper for valloc_r and pvalloc_r.  */
 
#include <_ansi.h>
#include <reent.h>
#include <stdlib.h>
#include <malloc.h>
 
#ifndef _REENT_ONLY
 
_PTR
_DEFUN (valloc, (nbytes),
	size_t nbytes)
{
  return _valloc_r (_REENT, nbytes);
}
 
_PTR
_DEFUN (pvalloc, (nbytes),
	size_t nbytes)
{
  return _pvalloc_r (_REENT, nbytes);
}
 
#endif
 

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.