[#BloombergLP-bdls-FdStreamBuf_FileHandler-unmap]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf&lowbar;FileHandler]::unmap
:relfileprefix: ../../../
:mrdocs:

Unmap the memory range starting at `mappedMemory`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
unmap(
    void* mappedMemory,
    std::streamoff length);
----

== Description

Unmap the section of memory beginning at the specified `mappedMemory`, having the specified `length`&period; The behavior is undefined unless `mappedMemory` is an address returned by a previous call to the `mmap` method and `length` was the `length` specified in that call&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mappedMemory*
| address previously returned by `mmap`
| *length*
| length in bytes of the mapped section
|===


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