Just a quick question, and I hope this has not been asked before. I want to know a way to list all the assigned environment variables for a process. I need it to be cross-platform for Windows and UNIX-like operating systems.
I know getenv(), but that only returns the value of the variable. I need to create a list of them.
Thank you for your help!
Tibor source
share