PRCYCoin  2.0.0.7rc1
P2P Digital Currency
fs.h
Go to the documentation of this file.
1 // Copyright (c) 2017-2020 The Bitcoin Core developers
2 // Copyright (c) 2020 The PIVX developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_FS_H
7 #define BITCOIN_FS_H
8 
9 #include <stdio.h>
10 #include <string>
11 
12 #include <boost/filesystem.hpp>
13 #include <boost/filesystem/fstream.hpp>
14 #include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
15 
17 namespace fs = boost::filesystem;
18 
20 namespace fsbridge {
21  FILE *fopen(const fs::path& p, const char *mode);
22  FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
23 };
24 
25 #endif
fsbridge::fopen
FILE * fopen(const fs::path &p, const char *mode)
Definition: fs.cpp:13
fsbridge::freopen
FILE * freopen(const fs::path &p, const char *mode, FILE *stream)
Definition: fs.cpp:18
fsbridge
Filesystem operations and types.
Definition: fs.cpp:11