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

# vm\_map\_delete(9)

deallocate an address range from a map

## NAME

**vm\_map\_delete** – deallocate an address range from a map

## SYNOPSIS

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

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

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

*int*\

**vm\_map\_delete**(*vm\_map\_t map*, *vm\_offset\_t start*, *vm\_offset\_t end*);

## DESCRIPTION

The **vm\_map\_delete**() function deallocates the address range bounded by *start* and *end* from the *map*.

## IMPLEMENTATION NOTES

This function is for FreeBSD VM internal use only. The [vm\_map\_remove(9)](/vm_map_remove/9.md) function should be called by FreeBSD VM consumers instead.

## RETURN VALUES

The **vm\_map\_delete**() function always returns KERN\_SUCCESS.

## SEE ALSO

[vm\_map(9)](/vm_map/9.md), [vm\_map\_remove(9)](/vm_map_remove/9.md)

## AUTHORS

This manual page was written by Bruce M Simpson ⟨bms@spc.org⟩.
