title: C99: Call main function from another 'main'?
body: <p>This <a href="https://stackoverflow.com/questions/25213829/calling-main-function-from-another-function-in-c">question</a> has a similar title but we are discussing different things. </p>
  
  <p>Say I want to invoke the <code>main</code> of a code foo.c</p>
  
  <pre><code>int main(){
     ...
  }
  </code></pre>
  
  <p>The problem is that the caller is another <code>main</code> routine, and it seems impossible to have two <code>main</code> functions. </p>
  
  <p>How can I call <code>foo.c</code>'s main function from another <code>main</code>?</p>
  
  <p>The name of the <code>main</code> in foo.c <strong>cannot be changed</strong>, because it is not a user-code.  </p>