repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
syscalls
/
syssbrk.c
blob
79b876321cbb0ba93a13043fcffb6df736e9f297
1
/* 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
sbrk
(
ptrdiff_t
incr
)
11
{
12
return
_sbrk_r
(
_REENT
,
incr
);
13
}