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

Go to the source code of this file.

Defines

#define LIB_HEAPSIZE   16384

Functions

char * _sbrk (size_t len)
 Increase heap size.

Define Documentation

#define LIB_HEAPSIZE   16384

Definition at line 36 of file sbrk.c.


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.

Definition at line 49 of file sbrk.c.

References NutHeapAlloc.