4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 11:31:00 +08:00

15 lines
237 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/* connector for sbrk */
#include <reent.h>
#include <unistd.h>
extern void *_sbrk_r (struct _reent *, ptrdiff_t);
extern void *_sbrk (ptrdiff_t);
2000-02-17 19:39:52 +00:00
void *
_DEFUN (sbrk, (incr),
ptrdiff_t incr)
2000-02-17 19:39:52 +00:00
{
return _sbrk_r (_REENT, incr);
}