distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
_sbrk_r() system call implementation More...
#include <cerrno>
#include <cstdint>
Functions | |
void * | _sbrk_r (_reent *, const intptr_t size) |
Increase program data space. More... | |
_sbrk_r() system call implementation
void* _sbrk_r | ( | _reent * | , |
const intptr_t | size | ||
) |
Increase program data space.
This version of _sbrk_r() requires the heap area to be defined explicitly in linker script with symbols __heap_start and __heap_end.
[in] | size | is the requested data space size |