Re: [xml] Action of realloc

Date view Thread view Subject view Author view

From: Bjorn Reese (breese@mail1.stofanet.dk)
Date: Tue Dec 05 2000 - 15:21:08 EST


JohnnyXia@acersoftech.com.cn wrote:

> pOld = realloc( pOld, newsize );

You are right. If realloc() fails, then the old memory block is
lost. This behaviour is not restricted to individual platforms,
but a general ANSI/ISO stdlib behaviour.

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Dec 05 2000 - 15:46:11 EST