Underlying OS Support

This lesson introduces you to some system calls for memory-allocation provided by the operating system.

We'll cover the following...

You might have noticed that we haven’t been talking about system calls when discussing malloc() and free(). The reason for this is simple: they are not system calls, but rather library calls. Thus the malloc library manages space within your virtual address space, but itself is built on top of some system calls which call into ...