From owner-freebsd-questions Tue Jan 25 15:28: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id B5C9914F02 for ; Tue, 25 Jan 2000 15:28:05 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA43437; Wed, 26 Jan 2000 09:57:50 +1030 (CST) Date: Wed, 26 Jan 2000 09:57:50 +1030 From: Greg Lehey To: Sam Hays Cc: freebsd-questions@FreeBSD.ORG Subject: Re: C question Message-ID: <20000126095750.D43103@freebie.lemis.com> References: <001701bf6777$92f0ffa0$297631cc@ecofl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <001701bf6777$92f0ffa0$297631cc@ecofl.com> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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