How is malloc() implemented internally?

Viewed 154150

Can anyone explain how malloc() works internally?

I have sometimes done strace program and I see a lot of sbrk system calls, doing man sbrk talks about it being used in malloc() but not much more.

3 Answers
Related