mirror of
https://github.com/ziglang/zig.git
synced 2026-01-14 11:25:14 +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
8 lines
129 B
C
Vendored
8 lines
129 B
C
Vendored
#include <sys/reboot.h>
|
|
#include "syscall.h"
|
|
|
|
int reboot(int type)
|
|
{
|
|
return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
|
|
}
|