Get the value of an environment variable
String_Type getenv(String_Type var)
The getenv function returns a string that represents the
value of an environment variable var. It will return
NULL if there is no environment variable whose name is given
by var.
if (NULL != getenv ("USE_COLOR"))
{
set_color ("normal", "white", "blue");
set_color ("status", "black", "gray");
USE_ANSI_COLORS = 1;
}
- slangrtl
-
__get_defined_symbols,
__get_reference,
__is_initialized,
_apropos,
_function_name,
array_map,
bstrlen,
eval,
import,
init_char_array,
is_defined,
length,
putenv,
strlen,
strncmp,
strsub,
substr,
uname
|