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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [syscalls/] [syssbrk.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/* connector for sbrk */
2
 
3
#include <reent.h>
4
#include <unistd.h>
5
 
6
extern void *_sbrk_r (struct _reent *, ptrdiff_t);
7
extern void *_sbrk (ptrdiff_t);
8
 
9
void *
10
_DEFUN (sbrk, (incr),
11
     ptrdiff_t incr)
12
{
13
  return _sbrk_r (_REENT, incr);
14
}

powered by: WebSVN 2.1.0

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