9 #ifndef _STRUS_BASE_ENV_HPP_INCLUDED
10 #define _STRUS_BASE_ENV_HPP_INCLUDED
21 int getenv(
const std::string& var, std::string& output);
28 int getenv_list(
const std::string& var,
char sep, std::vector<std::string>& output);
int getenv(const std::string &var, std::string &output)
Read an environment variable value as string.
char separatorPathList()
Separator character used for separating file paths in environment variables.
int getenv_list(const std::string &var, char sep, std::vector< std::string > &output)
Read an environment variable value as array of strings, separated by a separator character.