mirror of
https://github.com/ziglang/zig.git
synced 2025-12-21 05:33:15 +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
194 B
C
13 lines
194 B
C
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int dprintf(int fd, const char *restrict fmt, ...)
|
|
{
|
|
int ret;
|
|
va_list ap;
|
|
va_start(ap, fmt);
|
|
ret = vdprintf(fd, fmt, ap);
|
|
va_end(ap);
|
|
return ret;
|
|
}
|