Files
hush3/src/fs.cpp
2024-02-27 23:59:59 +01:00

17 lines
326 B
C++

// Copyright (c) 2016-2024 The Hush developers
#include "fs.h"
namespace fsbridge {
FILE *fopen(const fs::path& p, const char *mode)
{
return ::fopen(p.string().c_str(), mode);
}
FILE *freopen(const fs::path& p, const char *mode, FILE *stream)
{
return ::freopen(p.string().c_str(), mode, stream);
}
} // fsbridge