hi everyone I'm asked to implement malloc and free as my project in operating system course , but the big problem is that i have searched a lot about it and still have no idea about it , if anyone can tell me what are the main functionalities of the malloc and free or provide me with any usefull links about how to use brk & sbrk system calls I would really appreciate it .
Thanks in advance
alaa sam -2 Junior Poster
Recommended Answers
Jump to PostBeginning with L7Sqr's comment, there are a lot of resources out there, including the source code for GCC/glibc and other compilers/libraries out there that implement malloc/free which you can study to help understand what is going on. I did a considerable amount of research back in the 1990's into memory …
All 3 Replies
L7Sqr 227 Practically a Master Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
alaa sam -2 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.