delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/23/11:15:04

From: "Matt Bayliss" <grebz AT hiddenemail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Memory troubles.
Date: Sat, 23 Jun 2001 16:05:01 +0100
Organization: (Posted via) GTS Netcom - Public USENET Service http://pubnews.netcom.net.uk
Lines: 11
Sender: grebz AT crosswinds DOT net
Message-ID: <9h2b44$5gb$1@taliesin.netcom.net.uk>
References: <9h2arg$54v$1 AT taliesin DOT netcom DOT net DOT uk>
NNTP-Posting-Host: host62-7-83-77.btinternet.com
X-Trace: taliesin.netcom.net.uk 993308613 5643 62.7.83.77 (23 Jun 2001 15:03:33 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: Sat, 23 Jun 2001 15:03:33 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Am I right in thinking that, if I pass realloc() a piece of memory with data
in it, and it needs to grab more memory that it will copy the data over into
the new memory area before handing me the pointer back.

Or do I have to do it manually?

Just a thought.

Matt


- Raw text -


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