Qore Programming Language Reference Manual 0.8.8

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
ql_env.dox.h
1
3 namespace Qore {
8
10
27 *string getenv(string var);
28
30
37 nothing getenv();
38
40
58 int setenv(string env, softstring val);
59
61
68 nothing setenv();
69
71
88 int unsetenv(string env);
89
91
98 nothing unsetenv();
99
101 };
Qore::unsetenv
int unsetenv(string env)
Unsets an environment variable.
Qore::getenv
*string getenv(string var)
Retrieves the value of an environment variable or NOTHING if the variable is not set.
Qore::setenv
int setenv(string env, softstring val)
Sets an environment variable to a value.