Subj : Re: varargs(ish) To : comp.programming From : Alex Fraser Date : Sun Aug 21 2005 02:11 pm "pemo" wrote in message news:KlXNe.93152$G8.34109@text.news.blueyonder.co.uk... > Yes, I agree that the switch and first param are irrelevant. > > Thanks for the vprintf ref, in my 'out' function, I can now use vprintf > to output to stdout - great. However, how can I then go on to use > fprintf to output to a file? It would seem that vsprintf is the thing to > use??? There is vfprintf(), which is to fprintf() as vprintf() is to printf(). Alex .