delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/18/11:37:29

From: "lou smith" <9813152 AT fharga DOT sun DOT ac DOT za>
Organization: Stellenbosch University
To: djgpp AT delorie DOT com
Date: Sat, 18 Apr 1998 17:36:10 +0200
MIME-Version: 1.0
Subject: how do i get a pointer's selectors
Message-ID: <2057613D3B@fharga.sun.ac.za>

hello.

i would like to know how i can find out which segment a pointer 
points to, after mallocing a chunk of memory.

(question 2 : do pointers contain segments or are they just offsets) 
(question  3 : if they are only offsets, which selector do i use with 
them)

i looked in the mail archives but couldnt find a thing.

please inform me if you know

thanks in advance. 
(apologies in advance, if these are stupid questions)

lou.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019