October 22, 2002
How can I get access to environment?


October 22, 2002
New wrote:
> How can I get access to environment?
> 
> 

In UNIX, you can call the standard C functions, getevnv() and setenv().  Their declarations are (so you don't have to port an entire C header):

    char *getenv(char *name);
    int setenv(char *name,char *value,int overwrite);