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>_fexpand() change size of far heap allocated memory block</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fexpand()              Change Size of Far Heap Allocated Memory Block

 #include   <malloc.h>

 void _far *_fexpand(memblock, size);
 void _far *memblock;           Pointer to block to expand
 size_t size;                   New size (bytes)

    This is the far heap version of _expand(); it can expand an
    allocated memory block, memblock on the far heap to size bytes.
    If successful, it returns a pointer to the newly expanded memory
    block. See _expand() for more information.

    Returns:    A pointer to the resized memory block if successful, NULL
                otherwise.

 Portability:   Not supported by the ANSI standard.


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

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