From: Eli Zaretskii 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: References: <7ou8kq$ctj$1 AT server DOT noris DOT net> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.