REMAP(2) — System Interface Manual — System Calls
NAME
remap − remap pages of memory
SYNOPSIS
#include <mman.h>
#include <sys/types.h>
remap(addr, len, prot, share, fromaddr)
caddr_t addr; int len, prot, share; caddr_t fromaddr;
DESCRIPTION
Remap 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), map(2), unmap(2), madvise(2)
DIAGNOSTICS
Sun System Release 0.3