Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 09:57:50 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Sam Hays <sam@ecofl.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: C question
Message-ID:  <20000126095750.D43103@freebie.lemis.com>
In-Reply-To: <001701bf6777$92f0ffa0$297631cc@ecofl.com>
References:  <001701bf6777$92f0ffa0$297631cc@ecofl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 25 January 2000 at 15:03:04 -0600, Sam Hays wrote:
> Out of curiosity,
> what is the difference between NEAR and FAR in C/C++? please don't respond
> w/ a damned man page =] thanx

These are non-standard extensions used on some architectures with two
different pointer lengths.  'near' is a shorter pointer which can't
address the entire address space.  'far' is a longer pointer which
(normally) can address the entire address space, but which takes up
more space itself.

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?20000126095750.D43103>