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?
Printable View
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?
There is a function called environ() on many unix systems:
http://www.rt.com/man/environ.5.html
--Paul