Re: malloc() implementation



In article <jue0l3xomr.ln2@xxxxxxxxxxxxxxxxxxxxxxx>,
Flash Gordon <spam@xxxxxxxxxxxxxxxxxx> wrote:

Read C Programming Kerninghan & Ritchie you will get the idea.

Get the idea about what? Please provide context when responding, there
is no guarantee that people can see the post you are replying to.

It's a good answer to almost every on-topic question in comp.lang.c,
so the context doesn't matter :-)

In any case, last time I looked I'm sure that K&R did not describe how
to implement malloc which is what the subject line of this thread is..

It describes the implementation of a "rudimentary" storage allocator
as an example in the section on Address Arithmetic (5.4).

-- Richard
.



Relevant Pages