mirror of
https://github.com/ziglang/zig.git
synced 2025-12-17 03:33:06 +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
123 B
C
Vendored
7 lines
123 B
C
Vendored
#include <stdio.h>
|
|
|
|
void setbuf(FILE *restrict f, char *restrict buf)
|
|
{
|
|
setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
|
|
}
|