Quote Originally Posted by Kennedy View Post
man stdarg

That's all there is to it. It is actually quite simple to understand how to do it. You'll define your function as
Code:
int printf(const char *fmt, ...)
then you'll define a va_list and go from there.
I am afraid I don't understand. If i write the dots I suppose i get a compiler error.. My code specified was actually pseudocode. How to reference the vars then? What is a va_list?