Date: Wed, 14 Jan 98 16:59:45 PST From: Noam Rotem Subject: Set free my ignorance around 'free' To: djgpp AT delorie DOT com Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Precedence: bulk Hi, Can anyone explain to me the process of freeing a dynamic allocation? (I mean the process in memory, by the OS). What does *actualy* happen when I try to free a non dynamic allocation, or use a pointer to the middle of an allocation to free it? I know it is undefined, but why? What does the computer do when I use 'free'? Thanks in advance. --------------------------------------------- Noam Rotem John Bryce Training Centre Tel Aviv, Israel. 03-7535803 ============================================= 1. Take upon yourself an impossible mission. 2. Accomplish the mission. 3. Go back to step 1. It's the only sane answer to modern life. --- 14/01/98 16:59:45