delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/18/10:27:44

Date: Mon, 18 May 1998 17:26:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Colin Blackburn <cgb3 AT york DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: memory allocation
In-Reply-To: <MPG.fca1ce9290f6bfd98981e@news.york.ac.uk>
Message-ID: <Pine.SUN.3.91.980518172529.18855B-100000@is>
MIME-Version: 1.0

On Mon, 18 May 1998, Colin Blackburn wrote:

> I need to malloc a chunk of memory < 64K, I also need to be sure that 
> this memory does not cross a 64K page boundary.

The usual way to do this is to allocate 128K and use the part that's 
64K-aligned.

- Raw text -


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