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.
_heapadd
Adds memory to the heap.
int_heapadd(void*memblock,size_tsize**);**
For additional compatibility information, see Compatibility in the Introduction.
Libraries
Return Value
If successful, _heapadd returns 0; otherwise, the function returns –1 and sets errno to ENOSYS.
Parameters
memblock
Pointer to heap memory
size
Size in bytes of memory to add
Remarks
Beginning with 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, _heapadd is no longer supported on any Win32 platform and will immediately return –1 when called from an application of this type.
See Also free, _heapchk, _heapmin, _heapset, _heapwalk, malloc, realloc