cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
Env.hpp
Go to the documentation of this file.
1///
2/// @file Env.hpp
3/// @brief This file contains env utility functions
4/// @namespace utl
5///
6
7#pragma once
8
9#include <string>
10#include <unordered_map>
11
12namespace utl
13{
14 ///
15 /// @param env Pointer to environment variables
16 /// @return A map of environment variables
17 /// @brief Get environment variables as a map
18 ///
19 [[nodiscard]] std::unordered_map<std::string, std::string> getEnvMap(const char *const *env);
20} // namespace utl
std::unordered_map< std::string, std::string > getEnvMap(const char *const *env)
Get environment variables as a map.
Definition env.cpp:9