aboutsummaryrefslogtreecommitdiff
path: root/src/fs.cpp
blob: a5e12f1cfcb70e0c2fcc628d8f53bf6fa3adee1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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