delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/24/02:14:33

To: djgpp AT delorie DOT com
Subject: free()
Message-ID: <19980623.131350.7759.0.zixyer@juno.com>
From: zixyer AT juno DOT com (Zixyer S Qwerty)
Date: Wed, 24 Jun 1998 02:14:10 EDT

How does free() know how much memory to return to the heap?  Does it have
to be the originally malloc()ed pointer or can it be a different pointer
to the memory that was allocated?  I'm writing a linked list and keeping
pointers to each element around kinda defeats the purpose...  thanks in
advance for any help

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

- Raw text -


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