[#BloombergLP-bdls-FdStreamBuf_FileHandler-mmap] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf_FileHandler]::mmap :relfileprefix: ../../../ :mrdocs: Map to memory a section of the file starting at the specified `offset` from the start of the file and return a pointer to that memory. The section mapped is to be of the specified `length`. The behavior is undefined unless `offset` is a multiple of `pageSize`. Note that the memory is mapped for readonly access. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* mmap( std::streamoff offset, std::streamoff length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#