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

Return the `bsl&colon;&colon;ios&lowbar;base` mode bits corresponding to this file handler&period; Note that this will be a union (bitwise&hyphen;OR) of a subset of the `bsl&colon;&colon;ios&lowbar;base` constants `in`, `out`, and `binary`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
openMode() const;
----


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