Re: Regarding free function
- From: Flash Gordon <spam@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 11:31:44 +0100
Vijay wrote:
Hi All,
I have one question.
Using free we can release the memory. After releasing memory where this
released memory will go.. Does it go to back operating system or not?
Please explain.
On the HS 7000 it goes on a skiing holiday. However, other systems are likely to behave differently. It is not required to be returned to the OS and on many systems it won't be, instead it will be held in some kind of pool of memory easily available for use in subsequent calls to malloc/realloc. If you want to know about your system, ask in a group dedicated to your system.
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
.
- References:
- Regarding free function
- From: Vijay
- Regarding free function
- Prev by Date: Re: Hiding a file
- Next by Date: Re: Simplicity has a future
- Previous by thread: Re: Regarding free function
- Index(es):