mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-08 06:44:27 +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
7 lines
129 B
C
7 lines
129 B
C
#include <sys/reboot.h>
|
|
#include "syscall.h"
|
|
|
|
int reboot(int type)
|
|
{
|
|
return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
|
|
}
|