Topic: variable number arguments..HELP


Author: gtj@goanna.cs.rmit.oz.au (Glenn T Jayaputera)
Date: 16 Sep 93 12:16:48 GMT
Raw View
Hi....wondering if somebody can help me with variable number of formal
parameters.  Basically I would like the parameters to other function that
also accept variable number of parameters.

foo(int i,...) {
}

fii(char a,...) {
  putc(a);
  foo(......)
      ^^^^^^^
      here I would like to pass all the arguments after `a'  to foo()

can somebody shows me how to do it??  thanks in advance for any help

cheers
  glenn

    ~