chickadee » posix » unmap-file-from-memory

unmap-file-from-memory MMAP #!optional LENprocedure

Unmaps the section of a file mapped to memory using the C function munmap(). MMAP should be a mapped file as returned by the procedure map-file-to-memory. The optional argument LEN specifies the length of the section to be unmapped and defaults to the complete length given when the file was mapped.