MCPcopy Create free account
hub / github.com/FastLED/FastLED / getenv

Function getenv

src/fl/stl/cstdlib.cpp.hpp:455–462  ·  view source on GitHub ↗

Get the value of an environment variable Only functional on FL_IS_STUB (stub platform), returns nullptr otherwise

Source from the content-addressed store, hash-verified

453// Get the value of an environment variable
454// Only functional on FL_IS_STUB (stub platform), returns nullptr otherwise
455const char* getenv(const char* name) {
456#ifdef FL_IS_STUB
457 return ::getenv(name);
458#else
459 (void)name; // Suppress unused parameter warning
460 return nullptr;
461#endif
462}
463
464} // namespace fl

Callers 11

mainFunction · 0.85
setupFunction · 0.85
mainFunction · 0.85
setupFunction · 0.85
setupFunction · 0.85
setupFunction · 0.85
setup_crash_handlerFunction · 0.85
setup_crash_handlerFunction · 0.85
setupMethod · 0.85
getPayloadPathFunction · 0.85
run_allFunction · 0.85

Calls

no outgoing calls

Tested by 5

setupFunction · 0.68
mainFunction · 0.68
setupFunction · 0.68
setupFunction · 0.68
run_allFunction · 0.68