MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / GetEnviron

Function GetEnviron

tests/gtest/gtest-all.cc:8817–8822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8815
8816# if GTEST_OS_MAC
8817inline char** GetEnviron() {
8818 // When Google Test is built as a framework on MacOS X, the environ variable
8819 // is unavailable. Apple's documentation (man environ) recommends using
8820 // _NSGetEnviron() instead.
8821 return *_NSGetEnviron();
8822}
8823# else
8824// Some POSIX platforms expect you to declare environ. extern "C" makes
8825// it reside in the global namespace.

Callers 2

ExecDeathTestChildMainFunction · 0.85
ExecDeathTestSpawnChildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected