Nevertheless, it's done a lot. Perl, for example, uses it in the Win32Ole module to call COM functions. It's generally a case of passing more arguments than are needed:
int (*func)(...) = something; int p[10]; get_param_values(p); func(p[0], p[1], p[2], p[3], ...);
It doesn't handle every case, but for particular compilers and sets of compile flags, it works ok. You need to check the rules for register passing and parameter alignment in the stack to know whether it'll work for you.
But what the OP wanted was to know of the existence of vprintf:
#include
my_printf(char* fmt, ...) { va_alist ap; int count;
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.