Files
iZo/include/izo/Environment.hpp

15 lines
367 B
C++

#pragma once
#include <optional>
#include <string>
#include <string_view>
namespace izo {
std::optional<std::string> GetEnvVar(std::string_view name);
bool SetEnvVar(std::string_view name, std::string_view value,
std::string* errorMessage = nullptr);
bool UnsetEnvVar(std::string_view name, std::string* errorMessage = nullptr);
} // namespace izo