sbrk.c File Reference

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:
len Number 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().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/