I want to pass variable arguments to makecontext
function as follows.
void a(...)
{
....
makecontext( &stack, &func, ?, ? );
....
}
In the third parameter (?
), I should have the number of variable arguments, while in the next ?
, I should have all the arguments. How can this be done?