◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── 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 _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. -♦-