Problem with getenv("HOME")

Wolfgang Stuerzlinger
Tue Oct 28 07:55:00 GMT 1997

By default the environment variable HOME is not set in the GNU-Win32
When getenv is called with ("HOME") as argument the return value is a
string "(null)" instead of a NULL pointer. Is this a "standard" behaviour 
or a bug?

Wolfgang Stuerzlinger

P.S.: This breaks commonly used code sequences like:
Wolfgang Stuerzlinger
Dept. of Computer Science, UNC, Chapel Hill, NC 27599-3175

For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list