Regarding malloc()
Michael Eager
eager@eagercon.com
Thu Oct 5 12:59:00 GMT 2006
h2005422@bits-pilani.ac.in wrote:
> Respected sir:
> Thank for your reply.As i am working on generational garbage collector for
> c language.I want to partition the heap into three generation and than i
> want the malloc function such that it allocate the data object with in the
> range in which i want.For that i have to write my malloc fuction.So i want
> the real behaviour of malloc function.Kindly help me out to make partition
> with in the heap than modify the malloc function for the specific range.
Malloc is part of libc. On Linux, this is glibc.
Another implementation of malloc can be found in newlib.
A quick search will give you locations where you can
download the sources for either.
Please put spaces between sentences. Also feel free to put
spaces between paragraphs, as appropriate.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Gcc-help
mailing list