C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_environ
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Variable:  _environ
 
  Include:   <stdlib.h>
 
  Syntax:    char *_environ[];
 
     The _environ variable is an array of pointers to the strings that
     constitute the process environment. The environment consists of
     one or more entries of the form
 
          NAME=string
 
     where NAME is the name of an environment variable and <string> is
     the value of that variable. The string can be empty. The initial
     environment settings are taken from the operating-system
     environment at the time of program execution.
 
     The getenv and _putenv routines use the _environ variable to
     access and modify the environment table. When _putenv is called to
     add or delete environment settings, the environment table changes
     size. Its location in memory can also change, depending on the
     program's memory requirements. The _environ variable is adjusted
     in these cases and will always point to the correct table
     location.
                                    -♦-