Files
wibo/files.h
Simon Lindholm 228bf4663e File handles
2022-07-04 00:42:47 +02:00

12 lines
370 B
C++

#include <filesystem>
namespace files {
std::filesystem::path pathFromWindows(const char *inStr);
std::string pathToWindows(const std::filesystem::path &path);
void *allocFpHandle(FILE *fp);
FILE *fpFromHandle(void *handle, bool pop = false);
void *getStdHandle(uint32_t nStdHandle);
unsigned int setStdHandle(uint32_t nStdHandle, void *hHandle);
void init();
}