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
7 lines
183 B
C
Vendored
7 lines
183 B
C
Vendored
#include <wchar.h>
|
|
|
|
size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st)
|
|
{
|
|
static unsigned internal;
|
|
return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);
|
|
}
|