C Programming in Linux Tutorial #067 – Memory Map using mmap() Function

Video is ready, Click Here to View ×

C Programming in Linux Tutorial using GCC compiler. Tutorial should also be applicable in C/UNIX programming. An example on how to use the mmap() function to create memory mapped devices to the memory.


  1. If you use mmap(), make sure you also read the documentation on munmap(). Process destruction will remove the memory map. Calling close on the file descriptor does not unmap the memory.

Leave a Reply

Your email address will not be published.