The C++ Standard, [filebuf], paragraph 2 [ISO/IEC 14882-2014], states:
The restrictions on reading and writing a sequence controlled by an object of class
basic_filebuf<charT, traits>
are the same as for reading and writing with the Standard C libraryFILE
s.
...
[ISO/IEC 9899:1999] | Subclause 7.19.5.3, "The fopen Function" |
[ISO/IEC 14882-2014] | Clause 27, "Input/Output Library" |
...