Date: Tue, 28 Nov 1995 00:43:00 -0500 (EST) From: Marc Ramirez <mrami@mramirez.sy.yale.edu> To: Stephen Hocking <sysseh@devetir.qld.gov.au> Cc: chat@freebsd.org Subject: Re: Anybody with a Turbo C++ compiler able to answer a couple of questions? Message-ID: <Pine.BSF.3.91.951128003600.2639E-100000@mramirez.sy.yale.edu> In-Reply-To: <199511280225.CAA04740@netfl15a.devetir.qld.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Nov 1995, Stephen Hocking wrote: > What do the macros FP_SEG & FP_OFF do? I think that they are for getting the > segment number & offset respectively of a pointer, but am not sure. I believe you're right. Grep (TC comes with grep! I love that!) through dos.h. If I remember correctly, it's in there (god, I haven't used Turbo C since I was 15 or so). It should, of course, say something like #define FP_SEG(x) ((long)(x)<<16L) #define FP_OFF(x) ((long)(x)&65535L) Marc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951128003600.2639E-100000>