Link to home
Start Free TrialLog in
Avatar of dkamdar
dkamdar

asked on

getenv returning null string in a library used by my program

Hi,

In a library that my code is using, getenv is not able to pick an environment variable.
if i do an echo on that variable, it shows the value properly.
but while debugging, when i see the value returned by getenv function in the library, it is not returning anything.

Any thought what the problem could be?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of cookre
cookre
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial