7#ifndef BOOST_NOWIDE_CSTDLIB_HPP_INCLUDED
8#define BOOST_NOWIDE_CSTDLIB_HPP_INCLUDED
11#if !defined(BOOST_WINDOWS)
17#if !defined(BOOST_WINDOWS) && !defined(BOOST_NOWIDE_DOXYGEN)
26 BOOST_NOWIDE_DECL
char*
getenv(
const char* key);
31 BOOST_NOWIDE_DECL
int system(
const char* cmd);
43 BOOST_NOWIDE_DECL
int setenv(
const char* key,
const char* value,
int overwrite);
51 BOOST_NOWIDE_DECL
int unsetenv(
const char* key);
61 BOOST_NOWIDE_DECL
int putenv(
char*
string);
int system(const char *cmd)
char * getenv(const char *key)
UTF-8 aware getenv. Returns 0 if the variable is not set.
int setenv(const char *key, const char *value, int overwrite)
Set environment variable key to value.
Definition: cstdlib.cpp:28
int putenv(char *string)
Adds or changes an environment variable, string must be in format KEY=VALUE.
Definition: cstdlib.cpp:38
int unsetenv(const char *key)
Remove environment variable key.
Definition: cstdlib.cpp:33