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

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

 void _near *_nrealloc(memblock, size);
 void _near *memblock;          Memory block to change
 size_t size;                   New size (bytes)

    _nrealloc() is the near heap version of realloc(); it resizes a memory
    block, memblock, on the near heap to size bytes, returning a pointer
    to the reallocated memory block if successful, and a NULL pointer
    otherwise. See realloc() for more details.

    Returns:    If successful, a pointer to the reallocated memory
                block; NULL otherwise.

 Portability:   Not supported by the ANSI standard.


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

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