Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 10:53:15 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Marty Leisner <leisner@rochester.rr.com>
Cc:        Sam Hays <sam@ecofl.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: C question
Message-ID:  <20000126105315.H43103@freebie.lemis.com>
In-Reply-To: <200001260016.TAA02682@rochester.rr.com>
References:  <001701bf6777$92f0ffa0$297631cc@ecofl.com> <200001260016.TAA02682@rochester.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 25 January 2000 at 19:16:39 -0500, Marty Leisner wrote:
> "Sam Hays" <sam@ecofl.com> writes  on Tue, 25 Jan 2000 15:03:04 CST
>> Out of curiosity,
>> what is the difference between NEAR and FAR in C/C++? please don't
> respond
>> w/ a damned man page =] thanx
>> -Sam
>
> This has nothing to do with reasonable operating systems. ;-)

It may do.  Microsoft isn't the only vendor who has used this.

> NEAR is a 16 bit dos pointer (same segment register)
> FAR is a  32 bit pointer (segment/offset)

It is on the 8086.  Elsewhere it might be 32/64 bits.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000126105315.H43103>