DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) Runtime Environment

Info Catalog (guile.info.gz) Time (guile.info.gz) POSIX (guile.info.gz) Processes
 
 38.6 Runtime Environment
 ========================
 
  -- Scheme Procedure: program-arguments
  -- Scheme Procedure: command-line
  -- C Function: scm_program_arguments ()
      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'.
 
  -- Scheme Procedure: getenv nam
  -- C Function: scm_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.
 
  -- Scheme 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.
 
  -- Scheme Procedure: environ [env]
  -- C Function: scm_environ (env)
      If ENV is omitted, return the current environment (in the Unix
      sense) as a list of strings.  Otherwise set 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.
 
  -- Scheme Procedure: putenv str
  -- C Function: scm_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.
 
Info Catalog (guile.info.gz) Time (guile.info.gz) POSIX (guile.info.gz) Processes
automatically generated byinfo2html