![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
Bridge operations to C stdio. More...
Classes | |
| class | FileLock |
Typedefs | |
| using | FopenFn = std::function< FILE *(const fs::path &, const char *)> |
Functions | |
| FILE * | fopen (const fs::path &p, const char *mode) |
| fs::path | AbsPathJoin (const fs::path &base, const fs::path &path) |
| Helper function for joining two paths. More... | |
| static std::string | GetErrorReason () |
| static bool | IsWSL () |
| std::string | get_filesystem_error_message (const fs::filesystem_error &e) |
| fs::path | GetTempDirectoryPath () |
| FILE * | freopen (const fs::path &p, const char *mode, FILE *stream) |
Bridge operations to C stdio.
| using fsbridge::FopenFn = typedef std::function<FILE *(const fs::path &, const char *)> |
Helper function for joining two paths.
| [in] | base | Base path |
| [in] | path | Path to combine with base |
Definition at line 39 of file fs.cpp.
| FILE * fsbridge::fopen | ( | const fs::path & | p, |
| const char * | mode | ||
| ) |
| FILE * fsbridge::freopen | ( | const fs::path & | p, |
| const char * | mode, | ||
| FILE * | stream | ||
| ) |
| std::string fsbridge::get_filesystem_error_message | ( | const fs::filesystem_error & | e | ) |
|
static |
| fs::path fsbridge::GetTempDirectoryPath | ( | ) |