解釋
函式名: farrealloc功能: 調整遠堆中的分配塊
用法: void far *farrealloc(void far *block, unsigned long newsize);
程式例
#include <stdio.h>#include <alloc.h>
int main(void)
{
char far *fptr;
fptr = farmalloc(10);
printf("First address: %Fp\n", fptr);
fptr = farrealloc(fptr,20);
printf("New address: %Fp\n", fptr);
farfree(fptr);
return 0;
}