far far -- Non-Standard Type Modifier
A far data item (or function) may be located anywhere in memory and
is not assumed to reside in the current data (or code) segment. Its
address is 32 bits long.
Notes: You cannot pass a far pointer, or the address of a far
object, to most small-model library routines. You can,
however, pass the values of far objects to such routines.
Depending on the model specified at compile-time,
sizeof(char far *) may or may not be the same as
sizeof(char *).
Variables declared with class auto are always near since
they reside on the run-time stack.
-------------------------------- Example ---------------------------------
int far value;
double far table[100];
char far *fpc;
char far **fppc;
char far * far *fpfpc;
long int far * far check(char far, int, int far);
int (far *funptr)();
i = sizeof(char far *);
Seealso:
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster