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
6 lines
85 B
C
Vendored
6 lines
85 B
C
Vendored
#include <stdlib.h>
|
|
|
|
int mblen(const char *s, size_t n)
|
|
{
|
|
return mbtowc(0, s, n);
|
|
}
|