www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/08/06:17:06

Date: Thu, 8 Feb 1996 13:06:11 +0200 (EET)
From: Martynas Kunigelis <algikun AT santaka DOT sc-uni DOT ktu DOT lt>
To: DJGPP mailing list <djgpp AT delorie DOT com>
Subject: realloc()
Message-ID: <Pine.HPP.3.91.960208130128.999A-100000@santaka.sc-uni.ktu.lt>
MIME-Version: 1.0


In some UNIX manual (russian translation, BTW) I read, that relloc() can 
be used on free()'d pointers to avoid memory fragmentation. Is this 
really true? I always thought realloc() should be used only to resize an 
alocated block, not to re-allocate a freed one (though its name points to 
that). Anyone could get some advice?

P.S.: I know I should post this to comp.std.c newsgroup, but:

 [1] I've no access to newsgroups at all (any more)
 [2] DJGPP mailing list is a place where I really feel good! :)

Martynas Kunigelis

- Raw text -


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