C Language and Libraries Help (clang.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
─────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.
                                    -♦-