From owner-freebsd-questions Tue Jan 25 16:23:54 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 D68231538F for ; Tue, 25 Jan 2000 16:23:28 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA43837; Wed, 26 Jan 2000 10:53:15 +1030 (CST) Date: Wed, 26 Jan 2000 10:53:15 +1030 From: Greg Lehey To: Marty Leisner Cc: Sam Hays , freebsd-questions@FreeBSD.ORG Subject: Re: C question Message-ID: <20000126105315.H43103@freebie.lemis.com> References: <001701bf6777$92f0ffa0$297631cc@ecofl.com> <200001260016.TAA02682@rochester.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200001260016.TAA02682@rochester.rr.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 19:16:39 -0500, Marty Leisner wrote: > "Sam Hays" 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