Thrill  0.1
setenv.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * tlx/port/setenv.hpp
3  *
4  * Part of tlx - http://panthema.net/tlx
5  *
6  * Copyright (C) 2016-2018 Timo Bingmann <[email protected]>
7  *
8  * All rights reserved. Published under the Boost Software License, Version 1.0
9  ******************************************************************************/
10 
11 #ifndef TLX_PORT_SETENV_HEADER
12 #define TLX_PORT_SETENV_HEADER
13 
14 namespace tlx {
15 
16 //! \addtogroup tlx_port
17 //! \{
18 
19 /*!
20  * setenv - change or add an environment variable
21  * Windows porting madness because setenv() is apparently dangerous
22  */
23 int setenv(const char* name, const char* value, int overwrite);
24 
25 //! \}
26 
27 } // namespace tlx
28 
29 #endif // !TLX_PORT_SETENV_HEADER
30 
31 /******************************************************************************/
int setenv(const char *name, const char *value, int overwrite)
setenv - change or add an environment variable Windows porting madness because setenv() is apparently...
Definition: setenv.cpp:31
int value
Definition: gen_data.py:41