It would be best if this were cross-platform.

On POSIX systems, the PWD environment variable is set from the current
working directory of the shell.

The current working directory is also a POSIX concept.  Do Win32 and
Win64 have an equivalent?

Windows does have environment variables but I don't think it has
anything like $PWD (or, for Windows, %PWD%).

But do Windows programs have a current working directory that is part
of the process state?

If so, CLang's Windows driver could look up the Win32 or Win64 current
working directory and pass it down the line, or perhaps create a %PWD%
environment variable.

What other operating systems do we support that are neither Windows nor POSIX?

-- 
Don Quixote de la Mancha
Dulcinea Technologies Corporation
Software of Elegance and Beauty
http://www.dulcineatech.com
[email protected]
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to