Bradley Smith <bradsmith at debian.org> writes:
Come to think of it, you could do something like the following:
static int
scan (const char **sp, const char *fmt, ...)
{
va_list ap;
int ret;
va_start(ap, fmt);
ret = vsscanf(*sp, fmt, ap);
va_end(ap);
return ret;
}
Thanks!
--
Torbjörn