October 22, 2002 How can I get access to environment? | ||||
---|---|---|---|---|
| ||||
How can I get access to environment? |
October 22, 2002 Re: How can I get access to environment? | ||||
---|---|---|---|---|
| ||||
Posted in reply to New | 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);
|
Copyright © 1999-2021 by the D Language Foundation