mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
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
20 lines
401 B
C
Vendored
20 lines
401 B
C
Vendored
#include <stdarg.h>
|
|
#include <stdlib.h>
|
|
|
|
extern int __mingw_vswscanf (const wchar_t *buf, const wchar_t *format, va_list argp);
|
|
|
|
int __mingw_swscanf (const wchar_t *buf, const wchar_t *format, ...);
|
|
|
|
int
|
|
__mingw_swscanf (const wchar_t *buf, const wchar_t *format, ...)
|
|
{
|
|
va_list argp;
|
|
int r;
|
|
|
|
va_start (argp, format);
|
|
r = __mingw_vswscanf (buf, format, argp);
|
|
va_end (argp);
|
|
|
|
return r;
|
|
}
|
|
|