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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [syscalls/] [syssbrk.c] - Blame information for rev 258

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

Line No. Rev Author Line
1 207 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.