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>_bmalloc() allocate memory block in a based heap</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _bmalloc()              Allocate Memory Block in a Based Heap

 #include    <malloc.h>

 void _based(void) *_bmalloc(seg, size);
 _segment seg;          Based heap segment
 size_t size;           Size of block requested

    This is the based heap version of malloc(); it allocates a memory
    block of at least size bytes in the based heap segment seg. See
    malloc() and _bheapseg() for more information.

    Returns:    A pointer to the allocated space if successful, or
                _NULLOFF if unsuccessful.

 Portability:   Not supported by the ANSI standard.


See Also: _bfreeseg() _bheapseg() calloc() free() malloc() realloc()

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