MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / mz_fopen

Function mz_fopen

SampleFramework12/v1.00/TinyEXR.cpp:4128–4132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4126
4127#if defined(_MSC_VER) || defined(__MINGW64__)
4128static FILE *mz_fopen(const char *pFilename, const char *pMode) {
4129 FILE *pFile = NULL;
4130 fopen_s(&pFile, pFilename, pMode);
4131 return pFile;
4132}
4133static FILE *mz_freopen(const char *pPath, const char *pMode, FILE *pStream) {
4134 FILE *pFile = NULL;
4135 if (freopen_s(&pFile, pPath, pMode, pStream))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected