Introduction to Memory API

Let's​ get familiar with the crux of this chapter in this lesson!

In this interlude, we discuss the memory allocation interfaces in UNIX systems. The interfaces provided are quite simple, and hence the chapter is short and to the pointIndeed, we hope all chapters are! But this one is shorter and pointier, we think.. The main problem we address is this:

CRUX: HOW TO ALLOCATE AND MANAGE MEMORY

In UNIX/C programs, understanding how to allocate and manage memory is critical in building robust and reliable software. What interfaces are commonly used? What mistakes should be avoided?

Get hands-on with 1200+ tech skills courses.