J
junk
Hi,
Given the following function:-
void foo (char *fmt, ...) {
}
I know how to use va_start, va_end etc to process the parameters but is
there an easy way of passing the parameter list onto another function
that also has variable length arguements.
So for example given the function
void bar (char *fmt, ....) {
}
can I call bar from foo such as
void foo (char *fmt, ...) {
bar (fmt, <what goes here>);
}
Thanks
Andy
Given the following function:-
void foo (char *fmt, ...) {
}
I know how to use va_start, va_end etc to process the parameters but is
there an easy way of passing the parameter list onto another function
that also has variable length arguements.
So for example given the function
void bar (char *fmt, ....) {
}
can I call bar from foo such as
void foo (char *fmt, ...) {
bar (fmt, <what goes here>);
}
Thanks
Andy