mirror of
https://github.com/ziglang/zig.git
synced 2026-01-19 13:55:20 +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
13 lines
189 B
C
13 lines
189 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int printf(const char *restrict fmt, ...)
|
|
{
|
|
int ret;
|
|
va_list ap;
|
|
va_start(ap, fmt);
|
|
ret = vfprintf(stdout, fmt, ap);
|
|
va_end(ap);
|
|
return ret;
|
|
}
|