MMAP(2) Linux Programmerâs Manual MMAP(2) NAME mmap, munmap - map or unmap files or devices into memory DESCRIPTION mmap() creates a new mapping in the virtual address space of the calling process. The starting address for the new mapping is specified in addr. The length argument specifies the length of the mapping.