environment variables

Hi!
How-to get the environment variables in GNU.
getenv() only fetches the ones that you can find under export (not the ones under declare)...

best regars .David

Unless you export it, it's not an environment variable. You need to use getenv() and you need to export the variables that you want to access.

ok, thanks