Mail Archives: djgpp/1997/06/13/01:05:03
John M. Aldrich wrote:
> There may well be (in fact, I think there is), but it's a nonstandard
> way to get the environment. The standard interface is through the
> getenv() and putenv() functions; look them up in the libc docs for more
> info.
If memory servers, Turbo/Borland C++ at one point (and may well still)
used a third argument, char *envp[] (the name is of course irrelevant), to
represent the environment variables. As you correctly point out, this is
non ANSI C and will not work in other compilers.
--
Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"Covenants without the sword / are but words."
/ Camden
- Raw text -