You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fs.cpp 279B

123456789101112131415
  1. #include "fs.h"
  2. namespace fsbridge {
  3. FILE *fopen(const fs::path& p, const char *mode)
  4. {
  5. return ::fopen(p.string().c_str(), mode);
  6. }
  7. FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
  8. {
  9. return ::freopen(p.string().c_str(), mode, stream);
  10. }
  11. } // fsbridge