mirror of
https://github.com/ziglang/zig.git
synced 2026-01-18 21:35:25 +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
142 B
C
9 lines
142 B
C
#include <stdlib.h>
|
|
#include "syscall.h"
|
|
|
|
_Noreturn void _Exit(int ec)
|
|
{
|
|
__syscall(SYS_exit_group, ec);
|
|
for (;;) __syscall(SYS_exit, ec);
|
|
}
|