mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-01 02:15:54 -04:00
11 lines
366 B
C++
11 lines
366 B
C++
|
|
|
|
namespace EnvironmentVariable
|
|
{
|
|
//This function takes a string in the form key=value. It will add
|
|
//value to the environment variable key if key exists. Otherwise it
|
|
//will create a new env called key and set it to value.
|
|
bool addToEnvironmentVariable(const char* key, const char* value);
|
|
bool setEnvironmentVariable(const char* key, const char* value);
|
|
};
|