| 1 | #include <stdarg.h> |
| 2 | #include <stdlib.h> |
| 3 | |
| 4 | extern int __mingw_vsscanf (const char *buf, const char *format, va_list argp); |
| 5 | |
| 6 | int __mingw_sscanf (const char *buf, const char *format, ...); |
| 7 | |
| 8 | int |
| 9 | __mingw_sscanf (const char *buf, const char *format, ...) |
| 10 | { |
| 11 | va_list argp; |
| 12 | int r; |
| 13 | |
| 14 | va_start (argp, format); |
| 15 | r = __mingw_vsscanf (buf, format, argp); |
| 16 | va_end (argp); |
| 17 | |
| 18 | return r; |
| 19 | } |
| 20 |