MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / us_tempfile

Function us_tempfile

tools/rc/ResourceCompiler.cpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129std::string
130us_tempfile()
131{
132 char szTempFileName[MAX_PATH];
133 if (GetTempFileNameA(".", "ZIP", 1, szTempFileName) == 0)
134 {
135 std::cerr << "Error: " << get_error_str() << std::endl;
136 exit(EXIT_FAILURE);
137 }
138 return std::string(szTempFileName);
139}
140
141#else
142

Callers 1

mainFunction · 0.85

Calls 1

get_error_strFunction · 0.85

Tested by

no test coverage detected