MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetErrorMessage

Method GetErrorMessage

Source/SimpleFile.cpp:52–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52std::string CSimpleFile::GetErrorMessage() const {
53 if (m_fFile)
54 return "";
55
56 char err[512] = { };
57#ifdef _MSC_VER
58 if (0 == ::strerror_s(err, errno))
59#else
60 if (0 == ::strerror_r(errno, err, std::size(err)))
61#endif
62 return err;
63
64 return "Unknown error";
65}
66
67void CSimpleFile::WriteInt8(int8_t Value)
68{

Callers 6

OpenWaveFileMethod · 0.80
OnFileExportJsonMethod · 0.80
OpenFileMethod · 0.80
ReadFromFileMethod · 0.80
ExportRowsMethod · 0.80
ExportFileMethod · 0.80

Calls 1

sizeFunction · 0.85

Tested by

no test coverage detected