Click to See Complete Forum and Search --> : get environment variables in unix


luftwaffe
April 1st, 2003, 11:09 AM
Hello,

I am looking for a way how to get all environment variables in unix. I look for something like GetEnvironmentStrings, not like getenv and putenv.
Is it possible?

PaulWendt
April 1st, 2003, 11:29 AM
There is a function called environ() on many unix systems:
http://www.rt.com/man/environ.5.html
--Paul