GNU Info

Info Node: (librep.info)Environment Variables

(librep.info)Environment Variables


Next: String Functions Prev: User Information Up: The language
Enter node , (file) or (file)node

Environment 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.


automatically generated by info2www version 1.2.2.9