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

13 lines
155 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
extern int _end;
static char *end_of_data = (char *) &_end;
char *
_sbrk (int delta) {
char *ptr = end_of_data;
end_of_data += delta;
return ptr;
}