MCPcopy Create free account
hub / github.com/MisterTea/EternalTerminal / setEnv

Method setEnv

test/ServerFifoPathTest.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void setEnv(const char* name, const string& value) {
63 backupEnv(name);
64
65 const int replace = 1; // non-zero to replace.
66 ::setenv(name, value.c_str(), replace);
67 }
68
69 void unsetEnv(const char* name) {
70 backupEnv(name);

Callers 1

Calls 2

setenvFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected