49.3. Unmapping a Mapped Region: munmap()
The munmap() system call performs the converse of mmap(), removing a mapping from the calling process’s virtual address space.
#include <sys/mman.h>
int munmap(void *addr, size_t length);
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial