---
name: "mmap_unmap"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mmap_unmap"
---

# mmap\_unmap(3)

unmap an existing memory mapping

## NAME

mmap\_unmap - unmap an existing memory mapping

## SYNTAX

**#include \<libowfat/mmap.h\>**

int **mmap\_unmap**(char\* *mapped*,size\_t *maplen*);

## DESCRIPTION

mmap\_unmap removes a memory mapping established by mmap\_read, mmap\_private or mmap\_shared.

## SEE ALSO

[munmap(2)](/munmap/2.md), [mmap\_read(3)](/mmap_read/3.md), [mmap\_private(3)](/mmap_private/3.md), [mmap\_shared(3)](/mmap_shared/3.md)
