Hello,

I'm just trying to define a small API for this wickedy thing I'm doing. While some functions are complex, others merely wrap certain C runtime functions.

Right now I'm trying to define a function that wraps sscanf. As this function uses a variable argument list, assuming I declare the wrapper with the same arguments how do I pass it a va_arg?
Code:
int String_Scan(char *buffer, char *format, ...)
{
   // ?
   // Profit
}