MUNMAP(2) COMMAND REFERENCE MUNMAP(2)
NAME
munmap - unmap pages of memory
SYNOPSIS
#include <sys/type.h>
#include <sys/mman.h>
munmap(addr, len)
caddrt addr;
uint len;
DESCRIPTION
Munmap causes the process pages starting at addr and
continuing for len bytes to be removed from the legal
address space of the process.
DIAGNOSTICS
[EINVAL]
addr is not on a cluster boundary or len is not a
multiple of the pagesize.
[EMRANGE]
The area to be unmapped is outside the possible user's
address space or includes part of the uarea.
RETURN VALUE
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned and errno is set to
indicate the error.
SEE ALSO
fmap(2), getpagesize(2), mmap(2), mremap(2).
Printed 10/17/86 1
%%index%%
na:72,66;
sy:138,633;
de:771,281;
di:1052,335;
rv:1387,236;
se:1623,179;
%%index%%000000000106