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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [syssbrk.c] - Rev 1774

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

/* connector for sbrk */
 
#include <reent.h>
#include <unistd.h>
 
extern void *_sbrk_r (struct _reent *, size_t);
extern void *_sbrk (size_t);
 
void *
sbrk (incr)
     size_t incr;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _sbrk_r (_REENT, incr);
#else
  return _sbrk (incr);
#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.