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

 #include    <malloc.h>
 #include    <stdlib.h>

 void _based(void) *_brealloc(seg, memblock, size);
 _segment seg;                  Based heap segment selector
 void _based(void) *memblock;   Pointer to the memory block
 size_t size;                   New size in bytes

    This is the based heap version of realloc(); it reallocates the
    size of a based heap memory block as specified by the selector
    seg and the pointer memblock to the new size given in size. It
    returns a pointer to the reallocated memory block if successful,
    a NULL pointer for failure. See realloc() for more information.

    Returns:    A pointer to the reallocated memory if successful;
                NULL otherwise.

 Portability:   Not supported by the ANSI standard.


See Also: _bmalloc() _bcalloc() calloc() free() malloc() realloc()

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