3 /* system has no vsscanf. try to provide one */
9 vsscanf(const char *str
, const char *format
, va_list ap
)
11 /* XXX: can this be implemented in a more portable way? */
12 long p1
= va_arg(ap
, long);
13 long p2
= va_arg(ap
, long);
14 long p3
= va_arg(ap
, long);
15 long p4
= va_arg(ap
, long);
16 long p5
= va_arg(ap
, long);
17 return sscanf(str
, format
, p1
, p2
, p3
, p4
, p5
);