20 Jan
2006
20 Jan
'06
5:48 p.m.
Angus Leeming wrote:
Sebastian Redl wrote:
Another interesting addition would be replacing of referenced environment variables within the variable - does getenv() do that?
Sorry, I don't follow.
Angus
Especially in Windows, many environment variables contain a sequence %something%, which tells the shell to substitute this sequence with the environment variable something. An example is the PATH variable, which contains, I believe, %WINDIR% as an early entry. I wonder whether the Win32 implementation of getenv() does this, or if it should be done by an external function. Sebastian Redl