[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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.

See Also: farcalloc() farcoreleft() farfree() farmalloc()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson