fstream(3)
fstream(3) π
okay bestie, welcome to the Library Functions Manual entry for fstream(3) β C++ file streams but make it group chat. No cap, this page is giving βheader that does file I/Oβ energy, and we are keeping every signature, define, and little source-code quirk exactly where it belongs. Slay. β¨
πΈ NAME πΈ
fstreamβ the source just saysfstream -, and honestly? Minimalist icon behavior. She ate and left no crumbs. π
β¨ SYNOPSIS β¨
okay so here's the cast, bestie β signatures copied exactly, no edits, periodt. This lineup is lowkey iconic. π
π Classes π
class std::basic_filebuf< _CharT, _Traits >β The actual work of input and output (for files). This class associates both its input and output sequence with an external disk file, and maintains a joint file position for both sequences. Many of its semantics are described in terms of similar behavior in the Standard C Library'sFILEstreams."class std::basic_fstream< _CharT, _Traits >β Controlling input and output for files. This class supports reading from and writing to named files, using the inherited functions fromstd::basic_iostream. To control the associated sequence, an instance ofstd::basic_filebufis used, which this page refers to assb."class std::basic_ifstream< _CharT, _Traits >β Controlling input for files. This class supports reading from named files, using the inherited functions fromstd::basic_istream. To control the associated sequence, an instance ofstd::basic_filebufis used, which this page refers to assb."class std::basic_ofstream< _CharT, _Traits >β Controlling output for files. This class supports reading from named files, using the inherited functions fromstd::basic_ostream. To control the associated sequence, an instance ofstd::basic_filebufis used, which this page refers to assb."
yes, every class blurb in the source ends with a stray " β not a typo I invented, bestie, I'm preserving the manual's little gremlin energy. Iykyk. π
π¦ Namespaces π¦
namespace stdβ that's the namespace, exactly like that. π
π Defines π
#define _GLIBCXX_FSTREAMβ the define, character for character. Periodt. π
π Detailed Description π
This is a Standard C++ Library header.
Definition in file fstream.
Short and sweet, no notes. π¦
π«Ά Author π«Ά
Generated automatically by Doxygen for libstdc++ from the source code.
no human author to @ here, just Doxygen doing its thing for libstdc++. π«Ά
byeee π β this page is from libstdc++, dated 21 Apr 2009, and it's fstream(3). Stay streamy, bestie. πβ¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms