cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/12:18:57

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Does realloc() copies the data in the original memory space to the new memory space automatically?
Date: Thu, 12 Aug 1999 15:59:49 +0300
Organization: NetVision Israel
Lines: 7
Message-ID: <Pine.SUN.3.91.990812155924.28224E-100000@is>
References: <7ou8kq$ctj$1 AT server DOT noris DOT net>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 934462729 897 199.203.121.2 (12 Aug 1999 12:58:49 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 12 Aug 1999 12:58:49 GMT
X-Sender: eliz AT is
In-Reply-To: <7ou8kq$ctj$1@server.noris.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 13 Aug 1999, Goh Yong Kwang wrote:

> Does realloc() copy the data in the original memory space to the new memory 
> space automatically if it can't reuse the former?

Yes, it does.  The ANSI C Standard requires it.

- Raw text -


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