Passing variable arguments to another function that accepts a variable argument list
Passing variable arguments to another function that accepts a variable argument list So I have 2 functions that both have similar arguments void example(int a, int b, ...); void exampleB(int b, ...); Now example calls exampleB , but how can I pass along the variables in the variable argument list without modifying exampleB (as this is already used elsewhere too). example exampleB exampleB possible duplicate of Forward an invocation of a variadic function in C – Greg Hewgill Aug 20 '10 at 12:25 Well the solution on that one was using vprintf, and that's not the case here. – Not Available Aug 22 '10 at 7:57 7 Answers 7 ...