[#BloombergLP-bdls-FdStreamBuf_FileHandler-openMode] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf_FileHandler.adoc[FdStreamBuf_FileHandler]::openMode :relfileprefix: ../../../ :mrdocs: Return the `bsl::ios_base` mode bits corresponding to this file handler. Note that this will be a union (bitwise‐OR) of a subset of the `bsl::ios_base` constants `in`, `out`, and `binary`. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int openMode() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#