Copyright (C) 2000-2012 |
GNU Info (guile.info)Runtime EnvironmentRuntime Environment =================== - primitive: program-arguments - procedure: command-line Return the list of command line arguments passed to Guile, as a list of strings. The list includes the invoked program name, which is usually `"guile"', but excludes switches and parameters for command line options like `-e' and `-l'. - primitive: getenv nam Looks up the string NAME in the current environment. The return value is `#f' unless a string of the form `NAME=VALUE' is found, in which case the string `VALUE' is returned. - procedure: setenv name value Modifies the environment of the current process, which is also the default environment inherited by child processes. If VALUE is `#f', then NAME is removed from the environment. Otherwise, the string NAME=VALUE is added to the environment, replacing any existing string with name matching NAME. The return value is unspecified. - primitive: environ [env] If ENV is omitted, returns the current environment as a list of strings. Otherwise it sets the current environment, which is also the default environment for child processes, to the supplied list of strings. Each member of ENV should be of the form `NAME=VALUE' and values of `NAME' should not be duplicated. If ENV is supplied then the return value is unspecified. - primitive: putenv str Modifies the environment of the current process, which is also the default environment inherited by child processes. If STRING is of the form `NAME=VALUE' then it will be written directly into the environment, replacing any existing environment string with name matching `NAME'. If STRING does not contain an equal sign, then any existing string with name matching STRING will be removed. The return value is unspecified. automatically generated by info2www version 1.2.2.9 |