title: how to use pthread for not just void functions with void argument in C/C++？
body: <p>I wanna call multiple functions and deal with their return values (using <code>pthread_join</code>) in <code>main()</code>, but they are all <strong>int</strong> functions with <strong>multiple non-void</strong> arguments, and the definition of <code>pthread_create</code> is:</p>
  
  <pre><code>int pthread_create(pthread_t * thread, 
                 const pthread_attr_t * attr,
                 void * (*start_routine)(void *), 
                 void *arg);
  </code></pre>
  
  <p>all examples of the <code>start_routine</code> I found in the internet are type of <code>void *</code> with type of single <code>void *</code> argument, is it possible to call int functions with multiple non-void type arguments in <code>pthread_create</code>?</p>