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