Copyright (C) 2000-2012 |
GNU Info (librep.info)Environment VariablesEnvironment Variables ===================== These functions are exported by the `rep.system' module. - 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 false 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 false, in which case the environment variable is deleted. - Function: unsetenv variable-name Deletes any variable in `process-environment' named VARIABLE-NAME. See also Note: Process Objects for the description of the `process-environment' variable. |