8 #ifndef BOOST_NOWIDE_CSTDLIB_HPP_INCLUDED 9 #define BOOST_NOWIDE_CSTDLIB_HPP_INCLUDED 12 #if !defined(BOOST_WINDOWS) 18 #if !defined(BOOST_WINDOWS) && !defined(BOOST_NOWIDE_DOXYGEN) 22 BOOST_NOWIDE_DECL
char*
getenv(
const char* key);
32 BOOST_NOWIDE_DECL
int system(
const char* cmd);
35 BOOST_NOWIDE_DECL
int setenv(
const char* key,
const char* value,
int overwrite);
52 BOOST_NOWIDE_DECL
int unsetenv(
const char* key);
62 BOOST_NOWIDE_DECL
int putenv(
char*
string);
int setenv(const char *key, const char *value, int overwrite)
Set environment variable key to value.
Definition: cstdlib.cpp:24
int putenv(char *string)
Adds or changes an environment variable, string must be in format KEY=VALUE.
Definition: cstdlib.cpp:34
char * getenv(const char *key)
UTF-8 aware getenv. Returns 0 if the variable is not set.
int system(const char *cmd)
int unsetenv(const char *key)
Remove environment variable key.
Definition: cstdlib.cpp:29