Qore Programming Language Reference Manual
0.8.11.1
|
Functions | |
*string | Qore::getenv (string var) |
Retrieves the value of an environment variable or NOTHING if the variable is not set. More... | |
nothing | Qore::getenv () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. More... | |
int | Qore::setenv (string env, softstring val) |
Sets an environment variable to a value. More... | |
nothing | Qore::setenv () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. More... | |
int | Qore::unsetenv (string env) |
Unsets an environment variable. More... | |
nothing | Qore::unsetenv () |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments. More... | |
Environment functions
*string Qore::getenv | ( | string | var | ) |
Retrieves the value of an environment variable or NOTHING if the variable is not set.
var | the name of the environment variable |
nothing Qore::getenv | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int Qore::setenv | ( | string | env, |
softstring | val | ||
) |
Sets an environment variable to a value.
env | the name of the environment variable |
val | the new value of the environment variable |
nothing Qore::setenv | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.
int Qore::unsetenv | ( | string | env | ) |
Unsets an environment variable.
env | the name of the environment variable to unset |
nothing Qore::unsetenv | ( | ) |
This function variant does nothing at all; it is only included for backwards-compatibility with qore prior to version 0.8.0 for functions that would ignore type errors in arguments.