MUNMAP(2) COMMAND REFERENCE MUNMAP(2)
NAME
munmap - unmap pages of memory
SYNOPSIS
#include <sys/types.h>
#include <sys/mman.h>
munmap(addr, len)
caddr_t addr;
u_int 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
getpagesize(2), mmap(2), and mremap(2).
Printed 5/12/88 1
%%index%%
na:288,82;
sy:370,984;
de:1354,349;
di:1703,404;
rv:2107,280;
se:2387,193;
%%index%%000000000108