File indexing completed on 2025-01-18 09:42:45
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_NOWIDE_CSTDIO_HPP_INCLUDED
0009 #define BOOST_NOWIDE_CSTDIO_HPP_INCLUDED
0010
0011 #include <boost/nowide/config.hpp>
0012 #include <cstdio>
0013
0014 namespace boost {
0015 namespace nowide {
0016 #if !defined(BOOST_WINDOWS) && !defined(BOOST_NOWIDE_DOXYGEN)
0017 using std::fopen;
0018 using std::freopen;
0019 using std::remove;
0020 using std::rename;
0021 #else
0022
0023
0024
0025
0026 BOOST_NOWIDE_DECL FILE* freopen(const char* file_name, const char* mode, FILE* stream);
0027
0028
0029
0030 BOOST_NOWIDE_DECL FILE* fopen(const char* file_name, const char* mode);
0031
0032
0033
0034 BOOST_NOWIDE_DECL int rename(const char* old_name, const char* new_name);
0035
0036
0037
0038 BOOST_NOWIDE_DECL int remove(const char* name);
0039 #endif
0040 namespace detail {
0041 BOOST_NOWIDE_DECL FILE* wfopen(const wchar_t* filename, const wchar_t* mode);
0042 }
0043 }
0044 }
0045
0046 #endif