DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Process management

Removing mappings

int
munmap(caddr_t addr, size_t len);
munmap removes all mappings for pages in the range [addr, addr + len) from the address space of the calling process. It is not an error to remove mappings from addresses that do not have them, and any mapping, no matter how it was established, can be removed with munmap. munmap does not in any way affect the objects that were mapped at those addresses.
Next topic: Cache control
Previous topic: Creating and using mappings

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004