title: Is char *envp[] as a third argument to main() portable
body: <p>In order to get an environment variable in a <code>C</code> program, one could use the following:</p>
  
  <ul>
  <li><code>getenv()</code>  </li>
  <li><code>extern char **environ;</code></li>
  </ul>
  
  <p>But other than the above mentioned, is using <code>char *envp[]</code> as a third argument to <code>main()</code> to get the environment variables considered part of the standard?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(int argc, char *argv[], char *envp[])
  {
      while(*envp)
          printf("%s\n",*envp++);
  }
  </code></pre>
  
  <p>Is <code>char *envp[]</code> portable?</p>