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

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

 void _far *_frealloc(memblock, size);
 void _far *memblock;           Pointer to memory block to change
 size_t size;                   New size (bytes)

    This is the far heap version of realloc(); it changes the size of
    a memory block, memblock, in the far heap to size bytes. It returns
    a pointer to the reallocated block if successful, a NULL pointer
    otherwise. 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: calloc() free() malloc() realloc()

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