qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_heapadd, _bheapadd
 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.
                                    -♦-