.\" Copyright (c) 1991, 1991 Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.roff% .\" .\" @(#)munmap.2 6.3 (Berkeley) 06/23/92 .\" .Dd .Dt MUNMAP 2 .Os .Sh NAME .Nm munmap .Nd remove a mapping .Sh SYNOPSIS .Fn munmap "caddr_t addr" "size_t len" .Sh DESCRIPTION The .Fn munmap system call deletes the mappings for the specified address range, and causes further references to addresses within the range to generate invalid memory references. .Sh SEE ALSO .Xr msync 2 , .Xr madvise 2 , .Xr mprotect 2 , .Xr mincore 2 .Sh HISTORY The .Fn munmap function call is .Ud .