MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / set

Method set

unit_tests/storage/shared_memory.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 static void set(const std::string &name, const std::string &value)
45 {
46#ifdef _WIN32
47 _putenv_s(name.c_str(), value.c_str());
48#else
49 ::setenv(name.c_str(), value.c_str(), 1);
50#endif
51 }
52
53 static void unset(const std::string &name)
54 {

Callers 3

SendResponseFunction · 0.80
process_requestMethod · 0.80
SetInternalServerErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected