zig/lib/libc/mingw/stdio/mingw_sscanf.c
Andrew Kelley 49d1a4c562 move lib dirs to lib subdir
also start prefering NtDll API. so far:
 * NtQueryInformationFile
 * NtClose

adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00

21 lines
379 B
C

#include <stdarg.h>
#include <stdlib.h>
extern int __mingw_vsscanf (const char *buf, const char *format, va_list argp);
int __mingw_sscanf (const char *buf, const char *format, ...);
int
__mingw_sscanf (const char *buf, const char *format, ...)
{
va_list argp;
int r;
va_start (argp, format);
r = __mingw_vsscanf (buf, format, argp);
va_end (argp);
return r;
}