Unmap the memory range starting at mappedMemory.
Declared in <bdls_fdstreambuf.h>
void
unmap(
void* mappedMemory,
std::streamoff length);
Unmap the section of memory beginning at the specified mappedMemory, having the specified length. 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.
| Name | Description |
|---|---|
| mappedMemory | address previously returned by mmap |
| length | length in bytes of the mapped section |