◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _heapadd and _bheapadd functions add an unused area of memory to the heap. The _bheapadd function adds the memory to the specified based heap <seg>. The <size> argument specifies the size of the memory to add and must be an even number. The _heapadd function looks at the segment value and, if it is DGROUP, adds the memory to the near heap. Otherwise, _heapadd adds the memory to the far heap. Return Value These functions return 0 if successful, or -1 if an error occurs. -♦-