_heapadd
Visual Studio 2005
Adds memory to the heap.
int _heapadd( void *memblock, size_t size );
Parameters
- memblock
-
Pointer to the heap memory.
- size
-
Size of memory to add, in bytes.
If successful, _heapadd returns 0; otherwise, the function returns –1 and sets errno to ENOSYS.
For more information about this and other return codes, see _doserrno, errno, _sys_errlist, and _sys_nerr.
| Routine | Required header | Optional header | Compatibility |
|---|---|---|---|
| _heapadd | <malloc.h> | <errno.h> | None |
For more compatibility information, see Compatibility in the Introduction.
Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.