www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/08/02:59:16

Date: Thu, 8 Aug 1996 09:54:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Kelly BARRETT <kbarr AT ecr DOT mu DOT OZ DOT AU>
Cc: djgpp AT delorie DOT com
Subject: Re: pointers and ptr arith.
In-Reply-To: <4u6fbn$p3u@mulga.cs.mu.OZ.AU>
Message-Id: <Pine.SUN.3.91.960808095256.19168O-100000@is>
Mime-Version: 1.0

On 6 Aug 1996, Kelly BARRETT wrote:

> In a program I'm writing, I have a chunk of memory over 1Mb malloced,
> with just a standard int ptr pointing to it. Now can I use standard
> pointer arithmetic to access that block, or even standard array indicing?
> Because I have tried this, and the memory seems to fold back like it can't
> handle accessing deep into the big chunk. 

Please post the shortest program or code fragment that exhibits the 
problem.  From your description it is not clear what are you trying to do 
and what does `memory folds back' mean.

- Raw text -


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