MCPcopy Create free account
hub / github.com/Niko1221/Strata / unsetenv

Function unsetenv

engine/src/core/window_limits_test.cpp:14–14  ·  view source on GitHub ↗

MSVC has _putenv_s only; an empty value unsets it

Source from the content-addressed store, hash-verified

12#if defined(_WIN32)
13void setenv(const char* k, const char* v, int) { _putenv_s(k, v); } // MSVC has _putenv_s only; an empty value unsets it
14void unsetenv(const char* k) { _putenv_s(k, ""); }
15#endif
16int checks = 0;
17void check(bool ok, const char* label) {

Callers 15

mainFunction · 0.85
unsetFunction · 0.85
unsetFunction · 0.85
unsetFunction · 0.85
unsetFunction · 0.85
unset_varFunction · 0.85
mainFunction · 0.85
set_envFunction · 0.85
mainFunction · 0.85
unsetFunction · 0.85
mainFunction · 0.85
test_mapped_multiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected