MCPcopy Create free account
hub / github.com/catboost/catboost / GetEnvironNameValuePairs

Function GetEnvironNameValuePairs

library/cpp/yt/system/env.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#if defined(_linux_) || defined(_darwin_)
19
20std::vector<std::string> GetEnvironNameValuePairs()
21{
22 std::vector<std::string> result;
23 for (char** envIt = environ; *envIt; ++envIt) {
24 result.emplace_back(*envIt);
25 }
26 return result;
27}
28
29#endif
30

Callers 1

TESTFunction · 0.85

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected