mirror of
https://github.com/ziglang/zig.git
synced 2025-12-19 04:33:09 +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
11 lines
124 B
C
Vendored
11 lines
124 B
C
Vendored
#include "syscall.h"
|
|
|
|
#ifdef SYS_iopl
|
|
#include <sys/io.h>
|
|
|
|
int iopl(int level)
|
|
{
|
|
return syscall(SYS_iopl, level);
|
|
}
|
|
#endif
|