passing parameter list of one function to another

From: Neil Zanella (nzanella_at_cs.mun.ca)
Date: 11/30/03


Date: Sat, 29 Nov 2003 23:58:21 -0330


Hello,

Consider the following function prototype:

foo(int, ...);

Inside the body of function foo I want to call another function whose
signature is given as follows:

bar(int, ...);

No matter how many parameters are passed to foo, I want bar to be called
with the exact same parameter list. Is it possible to do this?

Thanks,

Neil



Relevant Pages