Get the value of an environment variable Only functional on FL_IS_STUB (stub platform), returns nullptr otherwise
| 453 | // Get the value of an environment variable |
| 454 | // Only functional on FL_IS_STUB (stub platform), returns nullptr otherwise |
| 455 | const 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 |
no outgoing calls