_heapmin

From RAD Studio
Jump to: navigation, search

Go Up to malloc.h Index


Header File

malloc.h

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 ANSI C ANSI C++ Win32 Win64 OS X
_heapmin +