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.
bsl::ios_base
in
out
binary
Declared in <bdls_fdstreambuf.h>
<bdls_fdstreambuf.h>
int openMode() const;