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

Function fopen

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

Source from the content-addressed store, hash-verified

13namespace fsbridge {
14
15FILE *fopen(const fs::path& p, const char *mode)
16{
17#ifndef WIN32
18 return ::fopen(p.string().c_str(), mode);
19#else
20 std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>,wchar_t> utf8_cvt;
21 return ::_wfopen(p.wstring().c_str(), utf8_cvt.from_bytes(mode).c_str());
22#endif
23}
24
25#ifndef WIN32
26

Callers 15

openMethod · 0.85
StartLoggingMethod · 0.85
GetCurrentLogSizeMethod · 0.85
LogPrintStrMethod · 0.85
ThreadImportFunction · 0.85
AppInitFunction · 0.85
WriteMethod · 0.85
ReadMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
OpenMethod · 0.85
OpenDiskFileFunction · 0.85

Calls

no outgoing calls

Tested by 4

mainFunction · 0.68
read_blockFunction · 0.68
GetFileDataMethod · 0.68
readblockFunction · 0.68