If an environment variable could have changed during program execution, get a fresh copy using getenv()
. Relying on your the old one might leave you with incorrect data or a dangling pointer.
...
If an environment variable could have changed during program execution, get a fresh copy using getenv()
. Relying on your the old one might leave you with incorrect data or a dangling pointer.
...