---
name: "vm_page_copy"
section: "9"
platform: "linux"
package: "freebsd-manpages"
version: "6.0-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/vm_page_copy"
---

# vm\_page\_copy(9)

copy a page

## NAME

**vm\_page\_copy** – copy a page

## SYNOPSIS

**#include \<sys/param.h\>**

**#include \<vm/vm.h\>**

**#include \<vm/vm\_page.h\>**

*void*\

**vm\_page\_copy**(*vm\_page\_t src\_m*, *vm\_page\_t dst\_m*);

## DESCRIPTION

The **vm\_page\_copy**() function copies the contents of *src\_m* into *dst\_m*.

The entire contents of *dst\_m* are marked as valid.

The actual copy is performed by **pmap\_copy\_page**().

## AUTHORS

This manual page was written by Chad David ⟨davidc@acns.ab.ca⟩.
