Go to the first, previous, next, last section, table of contents.
- Function: getenv variable-name
-
This function returns the value (a string) of the environment variable
called variable-name. If the specified variable doesn't exist
nil
is returned.
(getenv "OSTYPE")
=> "Linux"
- Function: setenv variable-name new-value
-
This function sets the value of the environment variable called
variable-name to new-value. new-value can either be
a string containing the new contents of the variable or
nil, in which
case the environment variable is deleted.
Go to the first, previous, next, last section, table of contents.