mirror of
https://github.com/ziglang/zig.git
synced 2026-01-14 19:35:12 +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
203 B
C
Vendored
13 lines
203 B
C
Vendored
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int sprintf(char *restrict s, const char *restrict fmt, ...)
|
|
{
|
|
int ret;
|
|
va_list ap;
|
|
va_start(ap, fmt);
|
|
ret = vsprintf(s, fmt, ap);
|
|
va_end(ap);
|
|
return ret;
|
|
}
|