passing parameter list of one function to another
From: Neil Zanella (nzanella_at_cs.mun.ca)
Date: 11/30/03
- Next message: Gordon Burditt: "Re: Reading specified Location"
- Previous message: Sidney Cadot: "Re: Is C99 the final C? (some suggestions)"
- Next in thread: James Hu: "Re: passing parameter list of one function to another"
- Reply: James Hu: "Re: passing parameter list of one function to another"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Gordon Burditt: "Re: Reading specified Location"
- Previous message: Sidney Cadot: "Re: Is C99 the final C? (some suggestions)"
- Next in thread: James Hu: "Re: passing parameter list of one function to another"
- Reply: James Hu: "Re: passing parameter list of one function to another"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|