Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_bheapset() fills empty based heap nodes</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _bheapset()             Fills Empty Based Heap Nodes

 #include    <malloc.h>

 int _bheapset(seg, fill);
 _segment seg;                  Based heap segment
 unsigned fill;                 Fill value to use

    This function checks for mimimal consistency in the based heap
    specified by seg; then it sets the based heap's free entries
    to the value in fill. It returns one of the following constants:

            _HEAPOK, _HEAPEMPTY, _HEAPBADBEGIN, or _HEAPBADNODE

    See _heapset() for more information.

    Returns:    _HEAPOK, _HEAPEMPTY, _HEAPBADBEGIN, or _HEAPBADNODE

 Portability:   Not supported by the ANSI standard.

See Also: _bcalloc() _bexpand() _bfreeseg() _bheapmin() _heapset()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson