xref: /original-bsd/lib/libc/sys/munmap.2 (revision 13deef58)
1.\" Copyright (c) 1991, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)munmap.2	6.3 (Berkeley) 06/23/92
7.\"
8.Dd
9.Dt MUNMAP 2
10.Os
11.Sh NAME
12.Nm munmap
13.Nd remove a mapping
14.Sh SYNOPSIS
15.Fn munmap "caddr_t addr" "size_t len"
16.Sh DESCRIPTION
17The
18.Fn munmap
19system call
20deletes the mappings for the specified address range,
21and causes further references to addresses within the range
22to generate invalid memory references.
23.Sh SEE ALSO
24.Xr msync 2 ,
25.Xr madvise 2 ,
26.Xr mprotect 2 ,
27.Xr mincore 2
28.Sh HISTORY
29The
30.Fn munmap
31function call is
32.Ud .
33