R
Rob Hoelz
Is there a way to pass the variable argument list from one function to
another? For example:
void my_func(const char *fmt, ...) {
char str[256];
snprintf(str, 255, fmt, ...);
}
I know that probably won't work, but you get my meaning.
Thanks!
another? For example:
void my_func(const char *fmt, ...) {
char str[256];
snprintf(str, 255, fmt, ...);
}
I know that probably won't work, but you get my meaning.
Thanks!