MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / sys_read_var

Function sys_read_var

extern/boost/boost/test/utils/runtime/env/fetch.hpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#endif
39
40inline std::pair<cstring,bool>
41sys_read_var( cstring var_name )
42{
43 using namespace std;
44 char const* res = getenv( var_name.begin() );
45
46 return std::make_pair( cstring(res), res != NULL );
47}
48
49#ifdef BOOST_MSVC
50#pragma warning(pop)

Callers

nothing calls this directly

Calls 3

make_pairFunction · 0.85
cstringClass · 0.50
beginMethod · 0.45

Tested by

no test coverage detected