delorie.com/archives/browse.cgi | search |
Date: | Sat, 23 Jun 2001 22:37:19 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | "Matt Bayliss" <grebz AT hiddenemail DOT com> |
Message-Id: | <6480-Sat23Jun2001223719+0300-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 |
CC: | djgpp AT delorie DOT com |
In-reply-to: | <9h2b44$5gb$1@taliesin.netcom.net.uk> (grebz@hiddenemail.com) |
Subject: | Re: Memory troubles. |
References: | <9h2arg$54v$1 AT taliesin DOT netcom DOT net DOT uk> <9h2b44$5gb$1 AT taliesin DOT netcom DOT net DOT uk> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: "Matt Bayliss" <grebz AT hiddenemail DOT com> > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 23 Jun 2001 16:05:01 +0100 > > 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. Yes, you are right: the contents of the previous block is copied to the new block.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |