函数名: FP_SEG
功 能: 获取远地址段值
用 法: #include <dos.h>
unsigned FP_SEG(void far *farptr);
程序例:
/* FP_SEG */
#include <dos.h>
#include <stdio.h>
int main(void)
{
char *filename = "fpseg.c";
printf("The offset of this file in memory\
is: %Fp\n", FP_SEG(filename));
return(0);
}