I
Ian Partridge
Hi,
I want to write a varargs function which then passes its parameters to
another varargs function. I have RTFFAQ:
http://www.eskimo.com/~scs/C-faq/q15.12.html
which says that the other function should accept a va_list pointer to do
this. However, I can't seem to get this answer working.
Would someone mind posting a simple example of how this can be done?
Many thanks in advance,
Ian
I want to write a varargs function which then passes its parameters to
another varargs function. I have RTFFAQ:
http://www.eskimo.com/~scs/C-faq/q15.12.html
which says that the other function should accept a va_list pointer to do
this. However, I can't seem to get this answer working.
Would someone mind posting a simple example of how this can be done?
Many thanks in advance,
Ian