libcosmos
Linux C++ System Programming Library
Loading...
Searching...
No Matches
FDFile.cxx
1
// cosmos
2
#include <cosmos/fs/FDFile.hxx>
3
4
namespace
cosmos {
5
6
FDFile::~FDFile() {
7
if
(!m_auto_close) {
8
// only close() here if we're not actually closing. This
9
// cannot fail. If we have to close() then let the base class
10
// destructor do that.
11
close
();
12
}
13
}
14
15
}
// end ns
cosmos::FDFile::close
void close() override
Close the current file object.
Definition
FDFile.hxx:62
src
fs
FDFile.cxx
Generated by
1.12.0