[#BloombergLP-bdls-FilesystemUtil-unmap]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::unmap
:relfileprefix: ../../../
:mrdocs:

Unmap the memory mapping with the specified `address` and `size`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
unmap(
    void* address,
    std::size&lowbar;t size);
----

== Description

Return 0 on success, and a non&hyphen;zero value otherwise&period; The behavior is undefined unless this area with `address` and `size` was previously mapped with a `map` call&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| base address of the mapping to unmap
| *size*
| length in bytes of the mapping to unmap
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
