get environment var in c