mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-08 14:54:42 +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
9 lines
158 B
C
9 lines
158 B
C
#include <sys/sysinfo.h>
|
|
#include "syscall.h"
|
|
|
|
int __lsysinfo(struct sysinfo *info)
|
|
{
|
|
return syscall(SYS_sysinfo, info);
|
|
}
|
|
|
|
weak_alias(__lsysinfo, sysinfo);
|