MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / fopen

Function fopen

src/util/fs.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace fsbridge {
22
23FILE *fopen(const fs::path& p, const char *mode)
24{
25#ifndef WIN32
26 return ::fopen(p.c_str(), mode);
27#else
28 return ::fopen(p.utf8string().c_str(), mode);
29#endif
30}
31
32fs::path AbsPathJoin(const fs::path& base, const fs::path& path)
33{

Callers 15

SerializeFileDBFunction · 0.85
DeserializeFileDBFunction · 0.85
RegisterLoadFunction · 0.85
StartLoggingMethod · 0.85
LogPrint_Method · 0.85
ShrinkDebugFileMethod · 0.85
OpenMethod · 0.85
CaptureMessageToFileFunction · 0.85
CBlockPolicyEstimatorMethod · 0.85
FlushFeeEstimatesMethod · 0.85
OpenMethod · 0.85

Calls 1

utf8stringMethod · 0.80

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
utxo_snapshot_fuzzFunction · 0.68
read_fileFunction · 0.68
testrand_initFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68