RAD Studio
ContentsIndex
PreviousUpNext
_heapmin

Header File 

malloc.h 

Category 

Memory Routines 

Prototype 

int _heapmin(void); 

Description 

Release unused heap areas. 

The _heapmin function returns unused areas of the heap to the operating system. This allows other processes to use blocks that have been allocated and then freed. Due to fragmentation of the heap, _heapmin might not always be able to return unused memory to the operating system; this is not an error. 

Return Value 

_heapmin returns 0 if it is successful, or -1 if an error occurs. 

Portability  

POSIX 
Win32 
ANSI C 
ANSI C++ 
 
 
 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!