24 #ifndef LXCPP_ENVIRONMENT_HPP
25 #define LXCPP_ENVIRONMENT_HPP
44 std::string
getenv(
const std::string& name);
46 void setenv(
const std::string& name,
const std::string& value);
48 void setenv(
const std::vector<std::pair<std::string, std::string>>& variables);
52 #endif // LXCPP_ENVIRONMENT_HPP
void clearenvExcept(const std::vector< std::string > &names)
Clears the env variables except those listed.
Definition: environment.cpp:34
std::string getenv(const std::string &name)
Definition: environment.cpp:62
void setenv(const std::string &name, const std::string &value)
Definition: environment.cpp:73
void clearenv()
Definition: environment.cpp:52