title: How to get the modified environmental variables using c programme in Mac using bash terminal
body: <p>I want to get the modified environment variables using C a program on a Mac using a bash terminal. How do I do this?</p>
  
  <p>If I use <code>getenv</code>, I will get only the default system defined environment variables - but I am not getting the modified one. Why? And how would I correct this?</p>