Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
_heapmin
Releases unused heap memory to the operating system.
int_heapmin(void);
For additional compatibility information, see Compatibility in the Introduction.
Libraries
Return Value
If successful, _heapmin returns 0; otherwise, the function returns –1 and sets errno to ENOSYS.
Remarks
The _heapmin function minimizes the heap by releasing unused heap memory to the operating system.
Note In Visual C++ Version 4.0, the underlying heap structure was moved to the C run-time libraries to support the new debugging features. As a result, the only Win32 platform that is supported by _heapmin is Windows NT. The function returns –1 and sets errno to ENOSYS, when it is called by any other Win32 platform.
See Also free, _heapadd, _heapchk, _heapset, _heapwalk, malloc