MREMAP(2) — System Interface Manual — System Calls
NAME
mremap − remap pages of memory
SYNOPSIS
#include <mman.h>
#include <sys/types.h>
mremap(addr, len, prot, share, fromaddr)
caddr_t addr; int len, prot, share; caddr_t fromaddr;
DESCRIPTION
This 4.3 call is not implemented in 4.2.
Mremap causes the pages starting at fromaddr and continuing for len bytes to be mapped to the address addr. The parameter share specifies whether modifications made to this mapped copy of the page are to be kept private or are to be shared with other references. The parameter prot specifies the accessibility of the newly mapped pages. The addr and len parameters must be multiples of the hardware page size (obtained with the getpagesize(2) call).
SEE ALSO
getpagesize(2), madvise(2), mmap(2), munmap(2)
Sun System Release 0.3 — 25 April 1983