Nut/OS  5.0.5
API Reference
sbrk.c File Reference
#include <sys/heap.h>
Include dependency graph for sbrk.c:

Defines

#define LIB_HEAPSIZE   16384

Functions

char * _sbrk (size_t len)
 Increase heap size.

Define Documentation

#define LIB_HEAPSIZE   16384

Function Documentation

char* _sbrk ( size_t  len)

Increase heap size.

Parameters:
lenNumber of bytes to add to the current heap.
Returns:
Pointer to the new space or -1 on errors.

References NULL, NutHeapAlloc, and rc.