MCPcopy Create free account
hub / github.com/ElementsProject/elements / fopen

Function fopen

src/fs.cpp:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace fsbridge {
26
27FILE *fopen(const fs::path& p, const char *mode)
28{
29#ifndef WIN32
30 return ::fopen(p.c_str(), mode);
31#else
32 std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>,wchar_t> utf8_cvt;
33 return ::_wfopen(p.wstring().c_str(), utf8_cvt.from_bytes(mode).c_str());
34#endif
35}
36
37fs::path AbsPathJoin(const fs::path& base, const fs::path& path)
38{

Callers 15

SerializeFileDBFunction · 0.85
DeserializeFileDBFunction · 0.85
RegisterLoadFunction · 0.85
StartLoggingMethod · 0.85
LogPrintStrMethod · 0.85
ShrinkDebugFileMethod · 0.85
OpenMethod · 0.85
CaptureMessageToFileFunction · 0.85
CBlockPolicyEstimatorMethod · 0.85
FlushMethod · 0.85
OpenMethod · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by 10

BOOST_FIXTURE_TEST_CASEFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGET_INITFunction · 0.68
secp256k1_testrand_initFunction · 0.68
runtest_fileFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68