Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 49. Memory Mappings > Unmapping a Mapped Region: munmap()

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