
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_bheapadd() add memory to based heap</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_bheapadd() Add Memory to Based Heap
#include <malloc.h>
int _bheapadd(seg, memblock, size);
_segment seg; Based heap segment
void _based( void ) *memblock; Memory block
size_t size; Memory to add
This is the based heap version of _heapadd(); it adds more memory to
a specified based heap. Pass it the segment selector of the based heap,
seg, a pointer to the memory block you want to add memory to,
memblock, and the size of the memory (in bytes) you wish to add, size.
See _heapadd() for more information.
Returns: A segment selector if successful, -1 otherwise
Portability: Not supported by the ANSI standard.
See Also: _bexpand() _bfree() _bheapmin() _bmalloc() _heapadd()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson