farrealloc() Adjust Allocated Block in Far Heap
#include <alloc.h>
void far *farrealloc(block,newsize);
void far *block; Allocated block in memory
unsigned long newsize; New size of block
farrealloc() changes the size of the allocated 'block' to 'newsize'.
If necessary, the contents are copied to a new location. For
allocating from the far heap, note that:
all of available RAM can be allocated
blocks larger than 64K can be allocated
far pointers are used to access the allocated blocks
Returns: The address of the reallocated block, which may be
different than the address of the original block. NULL
is returned if the block cannot be reallocated.
Seealso:
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster