Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>far far -- non-standard type modifier</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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 *);




See Also: near huge auto static extern

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson